2019-12-10 13:47:31 +00:00
|
|
|
(ocamllex LexToken)
|
|
|
|
|
|
|
|
(menhir
|
|
|
|
(merge_into Parser)
|
|
|
|
(modules ParToken Parser)
|
2019-12-17 17:03:43 +01:00
|
|
|
(flags -la 1 --table --explain --strict --external-tokens LexToken))
|
2019-12-10 13:47:31 +00:00
|
|
|
|
|
|
|
(library
|
|
|
|
(name parser_reasonligo)
|
|
|
|
(public_name ligo.parser.reasonligo)
|
2019-12-19 13:50:57 +00:00
|
|
|
(modules SyntaxError reasonligo LexToken Parser)
|
2019-12-10 13:47:31 +00:00
|
|
|
(libraries
|
2019-12-17 17:03:43 +01:00
|
|
|
menhirLib
|
2019-12-10 13:47:31 +00:00
|
|
|
parser_shared
|
2019-12-12 14:35:07 +01:00
|
|
|
parser_cameligo
|
2019-12-10 13:47:31 +00:00
|
|
|
str
|
|
|
|
simple-utils
|
|
|
|
tezos-utils
|
2019-12-11 12:23:11 +01:00
|
|
|
getopt
|
|
|
|
)
|
|
|
|
(preprocess
|
|
|
|
(pps bisect_ppx --conditional)
|
|
|
|
)
|
|
|
|
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo ))
|
|
|
|
)
|
2019-12-10 13:47:31 +00:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name LexerMain)
|
2019-12-17 17:03:43 +01:00
|
|
|
(libraries
|
2019-12-10 13:47:31 +00:00
|
|
|
parser_reasonligo)
|
2019-12-17 17:03:43 +01:00
|
|
|
(modules
|
|
|
|
LexerMain)
|
|
|
|
(flags (:standard -open Parser_shared -open Parser_reasonligo)))
|
2019-12-10 13:47:31 +00:00
|
|
|
|
|
|
|
(executable
|
|
|
|
(name ParserMain)
|
2019-12-17 17:03:43 +01:00
|
|
|
(libraries
|
2019-12-24 08:08:50 +01:00
|
|
|
parser_reasonligo
|
|
|
|
parser_cameligo)
|
2019-12-17 17:03:43 +01:00
|
|
|
(modules
|
2019-12-24 08:08:50 +01:00
|
|
|
ParserAPI
|
2019-12-17 17:03:43 +01:00
|
|
|
ParserMain)
|
2019-12-24 08:08:50 +01:00
|
|
|
(flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo)))
|