2019-12-10 17:47:31 +04:00
|
|
|
(ocamllex LexToken)
|
|
|
|
|
|
|
|
(menhir
|
|
|
|
(merge_into Parser)
|
|
|
|
(modules ParToken Parser)
|
2019-12-17 20:03:43 +04:00
|
|
|
(flags -la 1 --table --explain --strict --external-tokens LexToken))
|
2019-12-10 17:47:31 +04:00
|
|
|
|
|
|
|
(library
|
|
|
|
(name parser_reasonligo)
|
|
|
|
(public_name ligo.parser.reasonligo)
|
2019-12-24 17:25:40 +04:00
|
|
|
(modules
|
|
|
|
SyntaxError reasonligo LexToken Parser)
|
2019-12-10 17:47:31 +04:00
|
|
|
(libraries
|
2019-12-24 17:25:40 +04:00
|
|
|
menhirLib
|
|
|
|
parser_shared
|
|
|
|
parser_cameligo
|
|
|
|
str
|
|
|
|
simple-utils
|
|
|
|
tezos-utils
|
|
|
|
getopt)
|
2019-12-11 15:23:11 +04:00
|
|
|
(preprocess
|
2020-01-03 19:58:37 +04:00
|
|
|
(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-10 17:47:31 +04:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name LexerMain)
|
2020-01-03 19:58:37 +04:00
|
|
|
(libraries parser_reasonligo)
|
|
|
|
(modules LexerMain)
|
2019-12-11 22:07:52 +04:00
|
|
|
(preprocess
|
2020-01-03 19:58:37 +04:00
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-17 20:03:43 +04:00
|
|
|
(flags (:standard -open Parser_shared -open Parser_reasonligo)))
|
2019-12-10 17:47:31 +04:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name ParserMain)
|
2019-12-17 20:03:43 +04:00
|
|
|
(libraries
|
2019-12-24 17:25:40 +04:00
|
|
|
parser_reasonligo
|
|
|
|
parser_cameligo)
|
2019-12-17 20:03:43 +04:00
|
|
|
(modules
|
2020-01-03 19:58:37 +04:00
|
|
|
ParErr ParserAPI ParserMain)
|
2019-12-11 22:07:52 +04:00
|
|
|
(preprocess
|
2020-01-03 19:58:37 +04:00
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-24 11:08:50 +04:00
|
|
|
(flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo)))
|
2019-12-26 16:31:54 +04:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name Unlexer)
|
|
|
|
(libraries str)
|
2020-01-05 17:32:15 +04:00
|
|
|
(preprocess
|
|
|
|
(pps bisect_ppx --conditional))
|
2019-12-26 16:31:54 +04:00
|
|
|
(modules Unlexer))
|