1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:pls="http://www.w3.org/2005/01/pronunciation-lexicon" xmlns:ssml="http://www.w3.org/2001/10/synthesis" xmlns:svg="http://www.w3.org/2000/svg">
- <head>
- <title>Notation</title>
- <link rel="stylesheet" type="text/css" href="docbook-epub.css"/>
- <link rel="stylesheet" type="text/css" href="kawa.css"/>
- <script src="kawa-ebook.js" type="text/javascript"/>
- <meta name="generator" content="DocBook XSL-NS Stylesheets V1.79.1"/>
- <link rel="prev" href="Syntax.xhtml" title="Syntax"/>
- <link rel="next" href="Lexical-and-datum-syntax.xhtml" title="Lexical and datum syntax"/>
- </head>
- <body>
- <header/>
- <section class="sect1" title="Notation" epub:type="subchapter" id="Syntax-notation">
- <div class="titlepage">
- <div>
- <div>
- <h2 class="title" style="clear: both">Notation</h2>
- </div>
- </div>
- </div>
- <p>The formal syntax for Kawa Scheme is written in an extended <abbr class="acronym">BNF</abbr>.
- Non–terminals are written <em class="replaceable"><code>like-this</code></em>. Case is insignificant
- for non–terminal names.
- Literal text (terminals) are written <code class="literal"><span class="bold"><strong>like this</strong></span></code>.
- </p>
- <p>All spaces in the grammar are for legibility.
- </p>
- <p>The following extensions to <abbr class="acronym">BNF</abbr> are used to make the
- description more concise: <em class="replaceable"><code>thing</code></em><sup>*</sup> or <em class="replaceable"><code>thing</code></em><code class="literal">...</code>
- both mean zero or more occurrences of <em class="replaceable"><code>thing</code></em>,
- and <em class="replaceable"><code>thing</code></em><sup>+</sup> means at least one <em class="replaceable"><code>thing</code></em>.
- </p>
- <p>Some non-terminal names refer to the Unicode scalar values of the same
- name: <em class="replaceable"><code>character-tabulation</code></em> (U+0009), <em class="replaceable"><code>linefeed</code></em> (U+000A),
- <em class="replaceable"><code>carriage-return</code></em> (U+000D), <em class="replaceable"><code>line-tabulation</code></em> (U+000B),
- <em class="replaceable"><code>form-feed</code></em> (U+000C), <em class="replaceable"><code>space</code></em> (U+0020), <em class="replaceable"><code>next-line</code></em>
- (U+0085), <em class="replaceable"><code>line-separator</code></em> (U+2028), and <em class="replaceable"><code>paragraph-separator</code></em>
- (U+2029).
- </p>
- </section>
- <footer>
- <div class="navfooter">
- <p>
- Up: <a accesskey="u" href="Syntax.xhtml">Syntax</a></p>
- <p>
- Next: <a accesskey="n" href="Lexical-and-datum-syntax.xhtml">Lexical and datum syntax</a></p>
- </div>
- </footer>
- </body>
- </html>
|