20 lines
340 B
Java
20 lines
340 B
Java
|
<h2>Comments</h2>
|
||
|
<pre><code>\\ Single line comment
|
||
|
/* Multi line
|
||
|
comment */</code></pre>
|
||
|
|
||
|
<h2>Strings</h2>
|
||
|
<pre><code>""
|
||
|
"Foo \"bar\" baz"</code></pre>
|
||
|
|
||
|
<h2>Numbers</h2>
|
||
|
<pre><code>0.
|
||
|
42
|
||
|
3 . 14 15 9
|
||
|
5.2 E +12
|
||
|
.89</code></pre>
|
||
|
|
||
|
<h2>Ignored whitespaces</h2>
|
||
|
<pre><code>p r i n t ("hello")
|
||
|
if err(1/i, E, print (E))
|
||
|
a + = b \ / c</code></pre>
|