Execute SNUSP/JavaScript: Difference between revisions

m
Fixed syntax highlighting.
m (Fixed syntax highlighting.)
 
Line 2:
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].
 
<langsyntaxhighlight lang="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 153:
body();
dump();
}</langsyntaxhighlight>
9,482

edits