RCSNUSP/Lua: Difference between revisions
m
Fixed syntax highlighting.
(Created page with "-- directions UP, DOWN, LEFT, RIGHT = 1, 2, 4, 8 -- snusp snIPC, snIPL, snMPT, snDIR, snMEMORY, snSTACK, snCODE = 0, 0, 1, RIGHT, {0}, {}, {} -- stackframe Stackframe = {} f...") |
m (Fixed syntax highlighting.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[Lua]]</span><hr>
<syntaxhighlight lang="lua">
-- directions
UP, DOWN, LEFT, RIGHT = 1, 2, 4, 8
-- snusp
snIPC, snIPL, snMPT, snDIR, snMEMORY, snSTACK, snCODE =
-- stackframe
Line 95 ⟶ 97:
end
-- [[ entry point ( argument = snusp program file name ) ]]--
if arg[1] ~= nil then run( arg[1] ) end</syntaxhighlight>
|