ligo/vendors/Preprocessor/dune
Christian Rinderknecht c0ee726fb2 Simple_utils is now used as a library by the local builds.
Preprocessor is now a library installed by opam.
Replaced ligolang@gmail.com by contact@ligolang.org in opam files.
Reformatted some opam files.
Removed #line directive from preprocessor.
Added to the interface of ParserUnit.
Script messages.sh now checks the identity of .msg and .msg.old
to avoid undue warning about possibly different LR items.
2020-04-07 18:33:46 +02:00

52 lines
1.0 KiB
Plaintext

;; Building the preprocessor as a library
(library
(name Preprocessor)
(public_name Preprocessor)
(wrapped true)
(libraries
getopt
simple-utils)
(modules EvalOpt E_Parser E_Lexer E_AST Preproc)
(preprocess
(pps bisect_ppx --conditional)))
;; Building the lexers of the preprocessor
(ocamllex
E_Lexer Preproc)
;; Building the parser of the preprocessor (for boolean expressions)
(menhir
(modules E_Parser))
;; Building PreprocMain.exe for a standalone preprocessor
(executable
(name PreprocMain)
(modules PreprocMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))
;; Building E_LexerMain.exe for a standalone lexer of boolean
;; expressions
(executable
(name E_LexerMain)
(modules E_LexerMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))
;; Building E_ParserMain.exe for a standalone parser of boolean
;; expressions
(executable
(name E_ParserMain)
(modules E_ParserMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))