integrate bnfc

master
Rachel Lambda Samuelsson 2023-01-26 16:49:17 +01:00
parent 60890cbdd9
commit 3aea54bffe
2 changed files with 13 additions and 3 deletions

View File

@ -8,6 +8,8 @@ type icit
type ast
= Var of var
| Test of A.exp
| Type
| T0

View File

@ -1,5 +1,13 @@
(ocamllex "LexImplicitt")
(ocamlyacc "ParImplicitt")
(rule
(targets AbsImplicitt.ml
LexImplicitt.mll
ParImplicitt.mly
BNFC_Util.ml)
(deps implicitt.cf)
(action (run bnfc --ocaml %{deps})))
(ocamllex LexImplicitt)
(ocamlyacc ParImplicitt)
(env
(dev
@ -7,4 +15,4 @@
(library
(name Raw)
(modules "AbsImplicitt" "BNFC_Util" "LexImplicitt" "ParImplicitt"))
(modules AbsImplicitt BNFC_Util LexImplicitt ParImplicitt RawSyntax))