Update index.html
This commit is contained in:
parent
6e644327a7
commit
0e2674fb0d
@ -16,19 +16,15 @@
|
|||||||
<h3>L Source</h3>
|
<h3>L Source</h3>
|
||||||
<textarea id=
|
<textarea id=
|
||||||
"instructions">// 0. primitive instructions only
|
"instructions">// 0. primitive instructions only
|
||||||
// 1. labels match the regex [A-E](:digit:)+.
|
// 1. anything following the comment token "//" up to a
|
||||||
// 2. variables are initialized to zero and match
|
|
||||||
// (Y | (X|Z)(:digit:)+).
|
|
||||||
// 3. instructions must be delimited by a newline.
|
|
||||||
// 4. anything following the comment token "//" up to a
|
|
||||||
// newline are ignored.
|
// newline are ignored.
|
||||||
// 5. by default, a computation that takes more than 500_000
|
// 2. by default, a computation that takes more than 500_000
|
||||||
// "procedures", it will be halted.
|
// "procedures", it will be halted.
|
||||||
// 6. the implicit exit label "E1" exists; thus to exit
|
// 3. the implicit exit label "E1" exists; thus to exit
|
||||||
// prematurely, "GOTO E1".
|
// prematurely, "GOTO E1".
|
||||||
// 7. input your initial snapshot in the "variables" map
|
// 4. input your initial snapshot in the "variables" map
|
||||||
// on the Program in the compiled JS output
|
// on the Program in the compiled JS output
|
||||||
// 8. for a more detailed view on the grammar, it's at
|
// 5. for a more detailed view on the grammar, it's at
|
||||||
// /godel/grammar.peg
|
// /godel/grammar.peg
|
||||||
|
|
||||||
// THIS PROGRAM COMPUTES X1 + X2
|
// THIS PROGRAM COMPUTES X1 + X2
|
||||||
|
Loading…
Reference in New Issue
Block a user