compiler and vm: added subtraction

This commit is contained in:
2026-05-17 20:45:49 +03:00
parent 3668265b6f
commit 60d607cb59
2 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ type expression =
let default_global_table =
SymbolTable.of_list [
("PRINT", (0, Native 0));
("ADD", (1, Native 1))
("+", (1, Native 1));
("-", (2, Native 2))
]
(* extract all defined global symbols, given the top-level expressions