comparison src/bytecode.s @ 121:5d5472b11ccd

Initital skeleton of separation of separate parsing scheme This is the first commit in a long series related to separating the parsing of the input code from the execution of the code. It should allow for more efficient, and probably simpler, execution while giving quicker feedback when someone types in syntactically invalid code.
author William Astle <lost@l-w.ca>
date Sun, 31 Dec 2023 17:44:39 -0700
parents
children
comparison
equal deleted inserted replaced
120:1c1a0150fdda 121:5d5472b11ccd
1 *pragmapush list
2 *pragma list
3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4 ; Bytecode definitions - define them using the macro bytecode_opdef
5 *pragmapush list
6 *pragma nolist
7 bytecode_opdef macro
8 \1 equ \2
9 endm
10 *pragmapop list
11 bytecode_opdef bc_eol,0x00
12 *pragmapop list