Compiler/virtual machine interpreter: Difference between revisions
Compiler/virtual machine interpreter (view source)
Revision as of 20:48, 29 January 2022
, 2 years agoJ: include opcodes
(J) |
m (J: include opcodes) |
||
Line 1,897:
=={{header|J}}==
Implementation:
<lang J>
fetch store push add sub mul div mod lt gt le ge
eq ne and or neg not jmp jz prtc prts prti halt
}}-.LF
unpack=: {{
lines=. <;._2 y
'ds0 ds s0 s'=.;:0{::lines
Line 1,930 ⟶ 1,935:
end.
}}
run_vm=: {{
|