feat: Add OCaml code generation
Some checks failed
continuous-integration/drone/push Build is failing

Also start using nailgun to speed up code generation.

  Resolves #6.
This commit is contained in:
Glen Whitney 2021-02-28 22:21:56 -08:00
parent 380177b274
commit f789ed94fd
10 changed files with 128 additions and 4 deletions

View file

@ -108,7 +108,7 @@ again. That way we can use the general (left-associative)
parse to TopLevel(
Gets(Gets(Gets(Gets(DefGets(LitString("'Two and '")),Int("2")),
LitString("' make '")),Sum(Int("2"),Int("2"))),
EscString("\"./n\"")))
EscString("\".\n\"")))
/** writes
Two and 2 make 4.
**/