Execute SNUSP/JavaScript: Difference between revisions

m
Fixed syntax highlighting.
No edit summary
m (Fixed syntax highlighting.)
 
(4 intermediate revisions by 4 users not shown)
Line 1:
{{implementation|SNUSP}}{{collection|RCSNUSP}}[[Category:JavaScript]]
This [[JavaScript]] code is the core of a Modular SNUSP interpreter and debugger designed to be embedded on a [http://www.quirkster.com/snusp/snusp-js.html web page].
 
<syntaxhighlight lang="javascript">// to be run from a page having fields with these ids:
<javascript>
// to be run from a page having fields with these ids:
// raw: large textarea for code input
// code: empty PRE block for showing the program execution
Line 154 ⟶ 153:
body();
dump();
}</syntaxhighlight>
}
</javascript>
9,476

edits