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