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 type ast
= Var of var = Var of var
| Test of A.exp
| Type | Type
| T0 | T0

View File

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