mirror of
https://github.com/SymboScript/Book.git
synced 2025-02-22 12:23:16 +03:00
deploy: bb6c67333d
This commit is contained in:
parent
1125d71436
commit
3dc0ed8356
16 changed files with 279 additions and 20 deletions
20
print.html
20
print.html
|
@ -89,7 +89,7 @@
|
|||
|
||||
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
||||
<div class="sidebar-scrollbox">
|
||||
<ol class="chapter"><li class="chapter-item expanded "><a href="specification/index.html"><strong aria-hidden="true">1.</strong> Specification</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/index.html"><strong aria-hidden="true">1.1.</strong> Tokens</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/token-format.html"><strong aria-hidden="true">1.1.1.</strong> Token format</a></li><li class="chapter-item expanded "><a href="specification/tokens/token-kinds.html"><strong aria-hidden="true">1.1.2.</strong> Token Kinds</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/kinds/operators.html"><strong aria-hidden="true">1.1.2.1.</strong> Operators</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/keywords.html"><strong aria-hidden="true">1.1.2.2.</strong> Keywords</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/identifiers.html"><strong aria-hidden="true">1.1.2.3.</strong> Identifiers</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/literals.html"><strong aria-hidden="true">1.1.2.4.</strong> Literals</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/brackets.html"><strong aria-hidden="true">1.1.2.5.</strong> Brackets</a></li></ol></li></ol></li><li class="chapter-item expanded "><a href="examples/index.html"><strong aria-hidden="true">1.2.</strong> Examples</a></li></ol></li></ol>
|
||||
<ol class="chapter"><li class="chapter-item expanded "><a href="specification/index.html"><strong aria-hidden="true">1.</strong> Specification</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/index.html"><strong aria-hidden="true">1.1.</strong> Tokens</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/token-format.html"><strong aria-hidden="true">1.1.1.</strong> Token format</a></li><li class="chapter-item expanded "><a href="specification/tokens/token-kinds.html"><strong aria-hidden="true">1.1.2.</strong> Token Kinds</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="specification/tokens/kinds/operators.html"><strong aria-hidden="true">1.1.2.1.</strong> Operators</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/keywords.html"><strong aria-hidden="true">1.1.2.2.</strong> Keywords</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/identifiers.html"><strong aria-hidden="true">1.1.2.3.</strong> Identifiers</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/literals.html"><strong aria-hidden="true">1.1.2.4.</strong> Literals</a></li><li class="chapter-item expanded "><a href="specification/tokens/kinds/brackets.html"><strong aria-hidden="true">1.1.2.5.</strong> Brackets</a></li></ol></li></ol></li><li class="chapter-item expanded "><a href="specification/parser/index.html"><strong aria-hidden="true">1.2.</strong> Parser</a></li><li class="chapter-item expanded "><a href="examples/index.html"><strong aria-hidden="true">1.3.</strong> Examples</a></li></ol></li></ol>
|
||||
</div>
|
||||
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
|
||||
<div class="sidebar-resize-indicator"></div>
|
||||
|
@ -326,7 +326,23 @@
|
|||
false
|
||||
</code></pre>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="brackets"><a class="header" href="#brackets">Brackets</a></h1>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="examples"><a class="header" href="#examples">Examples</a></h1>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="parser"><a class="header" href="#parser">Parser</a></h1>
|
||||
<h2 id="expressionss"><a class="header" href="#expressionss">Expressionss</a></h2>
|
||||
<h3 id="operator-priority"><a class="header" href="#operator-priority">Operator priority</a></h3>
|
||||
<div class="table-wrapper"><table><thead><tr><th>Operator/Expression</th><th>Associativity</th><th>Parser fn name</th><th>Evaluation priority</th><th>Implementation</th></tr></thead><tbody>
|
||||
<tr><td><code>!</code> <code>++</code> <code>--</code> <code>()</code> Literals Identifiers</td><td>Left to Right</td><td>factor</td><td>1</td><td>✅</td></tr>
|
||||
<tr><td><code>^</code></td><td>Left to Left</td><td>power</td><td>2</td><td>✅</td></tr>
|
||||
<tr><td><code>*</code> <code>/</code> <code>%</code></td><td>Left to Right</td><td>term</td><td>3</td><td>✅</td></tr>
|
||||
<tr><td><code>+</code> <code>-</code></td><td>Left to Right</td><td>add_sub</td><td>4</td><td>✅</td></tr>
|
||||
<tr><td><code>>></code> <code><<</code></td><td>Left to Right</td><td>shift</td><td>5</td><td>❌</td></tr>
|
||||
<tr><td><code><</code> <code><=</code> <code>></code> <code>>=</code> <code>==</code> <code>!=</code></td><td>Left to Right</td><td>cmp</td><td>6</td><td>❌</td></tr>
|
||||
<tr><td><code>&</code></td><td>Left to Right</td><td>bit_and</td><td>7</td><td>❌</td></tr>
|
||||
<tr><td><code>|</code></td><td>Left to Right</td><td>bit_or</td><td>8</td><td>❌</td></tr>
|
||||
<tr><td><code>==</code> <code>!=</code> <code><</code> <code><=</code> <code>></code> <code>>=</code></td><td>Left to Right</td><td>cmp</td><td>9</td><td>❌</td></tr>
|
||||
<tr><td><code>&&</code></td><td>Left to Right</td><td>logical_and</td><td>10</td><td>❌</td></tr>
|
||||
<tr><td><code>||</code></td><td>Left to Right</td><td>logical_or</td><td>11</td><td>❌</td></tr>
|
||||
</tbody></table>
|
||||
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="examples"><a class="header" href="#examples">Examples</a></h1>
|
||||
<p>This is chapter about how the code in SymboScript looks.</p>
|
||||
|
||||
</main>
|
||||
|
|
Loading…
Add table
Reference in a new issue