aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-26 10:22:17 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-26 10:22:17 +0200
commit1b3a6fdbc0daa5f1a13f65244f9dba5fa9c00d2a (patch)
tree6528107b7c1411e601cf921811772cc61044cd73 /Documentation
parent2ab40aa211bb12cf7692deb232bdcd48afc78396 (diff)
downloadCompiler-1b3a6fdbc0daa5f1a13f65244f9dba5fa9c00d2a.zip
Compiler-1b3a6fdbc0daa5f1a13f65244f9dba5fa9c00d2a.tar.gz
Compiler-1b3a6fdbc0daa5f1a13f65244f9dba5fa9c00d2a.tar.bz2
Add links around hoa://.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/En/Index.xyl9
-rw-r--r--Documentation/Fr/Index.xyl7
2 files changed, 10 insertions, 6 deletions
diff --git a/Documentation/En/Index.xyl b/Documentation/En/Index.xyl
index 76b3e6f..ee09ae6 100644
--- a/Documentation/En/Index.xyl
+++ b/Documentation/En/Index.xyl
@@ -186,7 +186,8 @@ rule4 ::= e f</code></pre>
<p>The PP language, standing for <em>PHP Parser</em>, allows to express
<strong>algebraic grammars</strong>. It is written in files having the
<code>.pp</code> extension (please, see the
- <code>hoa://Library/Compiler/.Mime</code> file).</p>
+ <a href="@central_resource:path=Library/Compiler/.Mime"><code>hoa://Library/Compiler/.Mime</code></a>
+ file).</p>
<p>A grammar is composed of <strong>lexemes</strong> and
<strong>rules</strong>. The declaration of a lexeme has the following syntax:
<code>%token <em>namespace_in</em>:<em>name</em> <em>value</em> ->
@@ -212,7 +213,8 @@ rule4 ::= e f</code></pre>
<a href="http://json.org/">JSON language</a> (please, see the
<a href="https://tools.ietf.org/html/rfc4627">RFC4627</a>). The
<strong>complete</strong> grammar is located in the
- <code>hoa://Library/Json/Grammar.pp</code> file. Thus:</p>
+ <a href="@central_resource:path=Library/Json/Grammar.pp"><code>hoa://Library/Json/Grammar.pp</code></a>
+ file. Thus:</p>
<pre><code class="language-pp">%skip space \s
// Scalars.
%token true true
@@ -278,7 +280,8 @@ number:
</ul>
<p>Few constructions but largely enough.</p>
<p>Finally, the grammar of the PP language is written… with the PP language!
- You can find it in the <code>hoa://Library/Compiler/Llk/Llk.pp</code>
+ You can find it in the
+ <a href="@central_resource:path=Library/Compiler/Llk/Llk.pp"><code>hoa://Library/Compiler/Llk/Llk.pp</code></a>
file.</p>
<h3 id="Compilation_process" for="main-toc">Compilation process</h3>
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index 8655263..d28c1f5 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -201,7 +201,7 @@ rule4 ::= e f</code></pre>
<p>Le langage PP, pour <em lang="en">PHP Parser</em>, permet d'exprimer des
<strong>grammaires algébriques</strong>. Il s'écrit dans des fichiers portant
l'extension <code>.pp</code> (voir le fichier
- <code>hoa://Library/Compiler/.Mime</code>).</p>
+ <a href="@central_resource:path=Library/Compiler/.Mime"><code>hoa://Library/Compiler/.Mime</code></a>).</p>
<p>Une grammaire est constituée de <strong>lexèmes</strong> et de
<strong>règles</strong>. La déclaration d'un lexème se fait de la manière
suivante : <code>%token <em>namespace_in</em>:<em>name</em> <em>value</em> ->
@@ -227,7 +227,8 @@ rule4 ::= e f</code></pre>
<a href="http://json.org/">langage JSON</a> (voir la
<a href="https://tools.ietf.org/html/rfc4627">RFC4627</a>). La grammaire
<strong>complète</strong> se situe dans le fichier
- <code>hoa://Library/Json/Grammar.pp</code>. Ainsi :</p>
+ <a href="@central_resource:path=Library/Json/Grammar.pp"><code>hoa://Library/Json/Grammar.pp</code></a>.
+ Ainsi :</p>
<pre><code class="language-pp">%skip space \s
// Scalars.
%token true true
@@ -297,7 +298,7 @@ number:
<p>Peu de constructions mais amplement suffisantes.</p>
<p>Enfin, la grammaire du langage PP est écrite… dans le langage PP ! Vous
pourrez la trouver dans le fichier
- <code>hoa://Library/Compiler/Llk/Llk.pp</code>.</p>
+ <a href="@central_resource:path=Library/Compiler/Llk/Llk.pp"><code>hoa://Library/Compiler/Llk/Llk.pp</code></a>.</p>
<h3 id="Compilation_process" for="main-toc">Processus de compilation</h3>