nand2tetris/assembler/lib/ast.ml

7 lines
133 B
OCaml
Raw Permalink Normal View History

2022-07-18 19:16:54 +00:00
type expr =
| Comment of string
| Aconst of int
2022-07-18 19:16:54 +00:00
| Ainstr of string
| Ginstr of string
2022-07-18 19:16:54 +00:00
| Cinstr of string * string * string