separated into modules, added parser and lexer for miniImp

This commit is contained in:
elvis
2024-11-13 21:50:44 +01:00
parent 57e2613602
commit 0ff17560ee
24 changed files with 1408 additions and 51 deletions

16
lib/miniImp/dune Normal file
View File

@ -0,0 +1,16 @@
(ocamllex Lexer)
(menhir
(modules Parser)
(explain true)
(infer true)
(flags --dump --table)
)
(library
(name miniImp)
(public_name miniImp)
(modules Lexer Parser Types Semantics)
(libraries utility menhirLib))
(include_subdirs qualified)