mirror of
https://github.com/SymboScript/Book.git
synced 2024-11-06 05:43:58 +03:00
deploy: 2f04b070df
This commit is contained in:
parent
bfe171b8d9
commit
1125d71436
4 changed files with 20 additions and 18 deletions
17
print.html
17
print.html
|
@ -306,14 +306,15 @@
|
|||
<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>
|
||||
<p>Strings are enclosed in double quotes, single quotes or backticks.</p>
|
||||
<pre><code class="language-ts">"hello";
|
||||
"hello"`hello`;
|
||||
("hello\nworld");
|
||||
('hello"world');
|
||||
("hello ' world");
|
||||
<pre><code class="language-symboscript">"hello"
|
||||
"hello"
|
||||
`hello`
|
||||
"hello\nworld"
|
||||
'hello"world'
|
||||
"hello ' world"
|
||||
</code></pre>
|
||||
<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
|
||||
1e1
|
||||
1E1
|
||||
|
@ -321,8 +322,8 @@
|
|||
1.1E1
|
||||
</code></pre>
|
||||
<h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2>
|
||||
<pre><code class="language-ts">true;
|
||||
false;
|
||||
<pre><code class="language-symboscript">true
|
||||
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>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -177,14 +177,15 @@
|
|||
<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>
|
||||
<p>Strings are enclosed in double quotes, single quotes or backticks.</p>
|
||||
<pre><code class="language-ts">"hello";
|
||||
"hello"`hello`;
|
||||
("hello\nworld");
|
||||
('hello"world');
|
||||
("hello ' world");
|
||||
<pre><code class="language-symboscript">"hello"
|
||||
"hello"
|
||||
`hello`
|
||||
"hello\nworld"
|
||||
'hello"world'
|
||||
"hello ' world"
|
||||
</code></pre>
|
||||
<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
|
||||
1e1
|
||||
1E1
|
||||
|
@ -192,8 +193,8 @@
|
|||
1.1E1
|
||||
</code></pre>
|
||||
<h2 id="booleans"><a class="header" href="#booleans">Booleans</a></h2>
|
||||
<pre><code class="language-ts">true;
|
||||
false;
|
||||
<pre><code class="language-symboscript">true
|
||||
false
|
||||
</code></pre>
|
||||
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue