First implementation of the compiler

This commit is contained in:
Jan-Niclas Loosen
2025-12-08 00:03:18 +01:00
parent 88b8de363d
commit 4e6f93b353
11 changed files with 886 additions and 32 deletions

View File

@@ -0,0 +1,10 @@
GOTO L1
L2: NOP
LOAD 0 0
RETURN
L1: NOP
CONST 1
CONST 2
CONST 3
INVOKE 3 L2 0
HALT