CS-Notes/docs/_style/prism-master/examples/prism-parigp.html
2018-12-19 14:09:39 +08:00

20 lines
340 B
HTML

<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>