File: prism-ichigojam.html

package info (click to toggle)
node-prismjs 1.30.0%2Bdfsg%2B~1.26.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,220 kB
  • sloc: javascript: 27,628; makefile: 9; sh: 7; awk: 4
file content (29 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<p>Note: this component focuses on IchigoJam, which uses a small subset of basic and introduces its own markers.</p>

<h2>Comments</h2>
<pre><code>' This is a comment
REM This is a remark
'NoSpaceIsOK
REMNOSPACE</code></pre>

<h2>Strings</h2>
<pre><code>"This a string."
"This is a string with ""quotes"" in it."</code></pre>

<h2>Numbers</h2>
<pre><code>42
3.14159
-42
-3.14159
.5
10.
2E10
4.2E-14
-3E+2
#496F726953756B69
`11100010</code></pre>

<h2>IchigoJam Basic example</h2>
<pre><code>A=0
FOR I=1 TO 100 : A=A+I : NEXT
PRINT A</code></pre>