compiler and vm: implemented add

This commit is contained in:
2026-05-17 20:38:31 +03:00
parent 47ffeb4934
commit 3668265b6f
4 changed files with 31 additions and 4 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ type expression =
*)
let default_global_table =
SymbolTable.of_list [
("print", (0, Native 0));
("add", (1, Native 1))
("PRINT", (0, Native 0));
("ADD", (1, Native 1))
]
(* extract all defined global symbols, given the top-level expressions