2019-09-27 17:33:25 +04:00
|
|
|
(ocamllex LexToken)
|
2019-05-12 21:31:22 +04:00
|
|
|
|
|
|
|
(menhir
|
2020-01-03 19:58:37 +04:00
|
|
|
(merge_into Parser)
|
|
|
|
(modules ParToken Parser)
|
|
|
|
(flags -la 1 --table --strict --explain --external-tokens LexToken))
|
2019-05-12 21:31:22 +04:00
|
|
|
|
|
|
|
(library
|
2020-01-03 19:58:37 +04:00
|
|
|
(name parser_cameligo)
|
|
|
|
(public_name ligo.parser.cameligo)
|
|
|
|
(modules AST cameligo Parser ParserLog LexToken)
|
|
|
|
(libraries
|
|
|
|
menhirLib
|
|
|
|
parser_shared
|
|
|
|
str
|
|
|
|
simple-utils
|
|
|
|
tezos-utils
|
2020-01-04 22:49:22 +04:00
|
|
|
getopt)
|
2020-01-03 19:58:37 +04:00
|
|
|
(preprocess
|
2020-01-04 22:49:22 +04:00
|
|
|
(pps bisect_ppx --conditional))
|
2020-01-03 19:58:37 +04:00
|
|
|
(flags (:standard -open Simple_utils -open Parser_shared)))
|
2019-05-12 21:31:22 +04:00
|
|
|
|
2019-09-27 17:33:25 +04:00
|
|
|
(executable
|
|
|
|
(name LexerMain)
|
2019-12-26 16:23:32 +04:00
|
|
|
(libraries parser_cameligo)
|
|
|
|
(modules LexerMain)
|
2019-12-11 22:07:52 +04:00
|
|
|
(preprocess
|
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-17 20:03:43 +04:00
|
|
|
(flags (:standard -open Parser_shared -open Parser_cameligo)))
|
2019-05-12 21:31:22 +04:00
|
|
|
|
2019-09-27 17:33:25 +04:00
|
|
|
(executable
|
|
|
|
(name ParserMain)
|
2019-12-26 16:23:32 +04:00
|
|
|
(libraries parser_cameligo)
|
2019-12-17 20:03:43 +04:00
|
|
|
(modules
|
2020-01-04 22:49:22 +04:00
|
|
|
ParErr ParserMain)
|
2019-12-11 22:07:52 +04:00
|
|
|
(preprocess
|
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-17 20:03:43 +04:00
|
|
|
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))
|
2019-12-26 16:23:32 +04:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name Unlexer)
|
|
|
|
(libraries str)
|
2020-01-05 17:32:15 +04:00
|
|
|
(preprocess
|
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-26 16:23:32 +04:00
|
|
|
(modules Unlexer))
|