diff options
| author | Ben Winston | 2023-05-20 15:12:30 -0400 |
|---|---|---|
| committer | Ben Winston | 2023-05-20 15:12:30 -0400 |
| commit | 0c70372774297272dd14133d48e40e9a3624420a (patch) | |
| tree | 4e66fb1b97a0fd537a20dca4ddcd26003f83c94d /chunk.d | |
| parent | 6902cc5abe09da9f6f2d86f22d06684d97cfa9f3 (diff) | |
initial commit of compiler/VM with a couple basic instructions
Diffstat (limited to 'chunk.d')
| -rw-r--r-- | chunk.d | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,10 +33,12 @@ class Function : Obj { enum OpCode { OP_ADD, + OP_LESS, OP_NEGATE, OP_RETURN, OP_CONSTANT, OP_POP, + OP_SUBTRACT, OP_NIL, } |
