Compiler/virtual machine interpreter: Difference between revisions
Compiler/virtual machine interpreter (view source)
Revision as of 20:51, 29 January 2022
, 2 years ago→{{header|J}}
m (→{{header|J}}) |
m (→{{header|J}}) |
||
Line 1,947:
case.fetch do. k=.4 [PUSH i{vars
case.store do. k=.4 [vars=: (POP'') i} vars
case.push do.
case.add do. PUSH +/POP2''
case.sub do. PUSH -/POP2''
case.mul do. PUSH */POP2''
Line 1,963:
case.neg do. PUSH -POP''
case.not do. PUSH 0=POP''
case.jmp do.
case.jz do.
case.prtc do. emit u:POP''
case.prts do. emit (POP''){::strings
|