housekeeping

This commit is contained in:
Galfour 2019-04-07 14:01:50 +00:00
parent 8f518a508f
commit d12ec7d4eb
2 changed files with 0 additions and 5 deletions

View File

@ -18,21 +18,18 @@
(targets parser.ml parser.mli) (targets parser.ml parser.mli)
(deps parser.mly ast.ml) (deps parser.mly ast.ml)
(action (system "menhir --external-tokens Lex.Token lex/token.mly parser.mly --base parser")) (action (system "menhir --external-tokens Lex.Token lex/token.mly parser.mly --base parser"))
(mode promote-until-clean)
) )
(rule (rule
(targets parser.mly) (targets parser.mly)
(deps partial_parser.mly pre_parser.mly) (deps partial_parser.mly pre_parser.mly)
(action (system "cat pre_parser.mly partial_parser.mly > parser.mly")) (action (system "cat pre_parser.mly partial_parser.mly > parser.mly"))
(mode promote-until-clean)
) )
(rule (rule
(targets partial_parser.mly) (targets partial_parser.mly)
(deps generator.exe) (deps generator.exe)
(action (system "./generator.exe parser > partial_parser.mly")) (action (system "./generator.exe parser > partial_parser.mly"))
(mode promote-until-clean)
) )
;; Generating AST ;; Generating AST
@ -41,7 +38,6 @@
(targets ast.ml) (targets ast.ml)
(deps generator.exe) (deps generator.exe)
(action (system "./generator.exe ast > ast.ml")) (action (system "./generator.exe ast > ast.ml"))
(mode promote-until-clean)
) )
;; Generating Generator ;; Generating Generator

View File

@ -1 +0,0 @@
let toto = at * bo in list [ toto ; tata ; titi ]