ligo/vendors/Preprocessor/dune

52 lines
1.0 KiB
Plaintext
Raw Normal View History

;; Building the preprocessor as a library
2020-01-27 19:05:47 +04:00
(library
(name Preprocessor)
(public_name Preprocessor)
(wrapped true)
2020-03-23 22:43:06 +04:00
(libraries
getopt
simple-utils)
2020-03-24 21:52:00 +04:00
(modules EvalOpt E_Parser E_Lexer E_AST Preproc)
(preprocess
(pps bisect_ppx --conditional)))
2020-01-27 19:05:47 +04:00
;; 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
2020-03-24 21:52:00 +04:00
(executable
(name PreprocMain)
(modules PreprocMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))
2020-01-27 19:05:47 +04:00
;; Building E_LexerMain.exe for a standalone lexer of boolean
;; expressions
2020-03-24 21:52:00 +04:00
(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
2020-03-24 21:52:00 +04:00
(executable
(name E_ParserMain)
(modules E_ParserMain)
(libraries Preproc)
(preprocess
(pps bisect_ppx --conditional)))