This commit is contained in:
artegoser 2023-12-24 15:55:01 +00:00
parent bfe171b8d9
commit 1125d71436
4 changed files with 20 additions and 18 deletions

View file

@ -306,14 +306,15 @@
<p>In SymboScript exists only three kinds of token literals: strings, numbers, booleans.</p> <p>In SymboScript exists only three kinds of token literals: strings, numbers, booleans.</p>
<h2 id="strings"><a class="header" href="#strings">Strings</a></h2> <h2 id="strings"><a class="header" href="#strings">Strings</a></h2>
<p>Strings are enclosed in double quotes, single quotes or backticks.</p> <p>Strings are enclosed in double quotes, single quotes or backticks.</p>
<pre><code class="language-ts">&quot;hello&quot;; <pre><code class="language-symboscript">&quot;hello&quot;
&quot;hello&quot;`hello`; &quot;hello&quot;
(&quot;hello\nworld&quot;); `hello`
('hello&quot;world'); &quot;hello\nworld&quot;
(&quot;hello ' world&quot;); 'hello&quot;world'
&quot;hello ' world&quot;
</code></pre> </code></pre>
<h2 id="numbers"><a class="header" href="#numbers">Numbers</a></h2> <h2 id="numbers"><a class="header" href="#numbers">Numbers</a></h2>
<pre><code class="language-ts">1 .1 <pre><code class="language-symboscript">1 .1
1.1 1.1
1e1 1e1
1E1 1E1
@ -321,8 +322,8 @@
1.1E1 1.1E1
</code></pre> </code></pre>
<h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2> <h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2>
<pre><code class="language-ts">true; <pre><code class="language-symboscript">true
false; false
</code></pre> </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="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="examples"><a class="header" href="#examples">Examples</a></h1>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -177,14 +177,15 @@
<p>In SymboScript exists only three kinds of token literals: strings, numbers, booleans.</p> <p>In SymboScript exists only three kinds of token literals: strings, numbers, booleans.</p>
<h2 id="strings"><a class="header" href="#strings">Strings</a></h2> <h2 id="strings"><a class="header" href="#strings">Strings</a></h2>
<p>Strings are enclosed in double quotes, single quotes or backticks.</p> <p>Strings are enclosed in double quotes, single quotes or backticks.</p>
<pre><code class="language-ts">&quot;hello&quot;; <pre><code class="language-symboscript">&quot;hello&quot;
&quot;hello&quot;`hello`; &quot;hello&quot;
(&quot;hello\nworld&quot;); `hello`
('hello&quot;world'); &quot;hello\nworld&quot;
(&quot;hello ' world&quot;); 'hello&quot;world'
&quot;hello ' world&quot;
</code></pre> </code></pre>
<h2 id="numbers"><a class="header" href="#numbers">Numbers</a></h2> <h2 id="numbers"><a class="header" href="#numbers">Numbers</a></h2>
<pre><code class="language-ts">1 .1 <pre><code class="language-symboscript">1 .1
1.1 1.1
1e1 1e1
1E1 1E1
@ -192,8 +193,8 @@
1.1E1 1.1E1
</code></pre> </code></pre>
<h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2> <h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2>
<pre><code class="language-ts">true; <pre><code class="language-symboscript">true
false; false
</code></pre> </code></pre>
</main> </main>