finish project eight backend compiler

- modify existing implementation to use variant types for a more
  accurate representation of the vm byte code
- switch to fold from recursion for the main translate function
- use separate modules for translating different vm commands
- move static arithmetic command translations to a map
This commit is contained in:
konarak committed 2024-09-13 17:03:52 -04:00
1 parent 5973c64e78
commit b7dee58454
35 files changed
+633 -302

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
(lang dune 3.13)
(using menhir 3.0)