Fixed the [dune] files to build ParserMain.exe

This commit is contained in:
Christian Rinderknecht 2019-12-24 14:25:40 +01:00
parent b0e92a58bf
commit ce857fbe40
3 changed files with 29 additions and 28 deletions

View File

@ -2,13 +2,15 @@
(menhir (menhir
(merge_into Parser) (merge_into Parser)
(modules ParToken Parser) (modules
ParToken Parser)
(flags -la 1 --table --strict --explain --external-tokens LexToken)) (flags -la 1 --table --strict --explain --external-tokens LexToken))
(library (library
(name parser_cameligo) (name parser_cameligo)
(public_name ligo.parser.cameligo) (public_name ligo.parser.cameligo)
(modules AST cameligo Parser ParserLog LexToken) (modules
AST cameligo Parser ParserLog LexToken)
(libraries (libraries
menhirLib menhirLib
parser_shared parser_shared
@ -21,16 +23,17 @@
(executable (executable
(name LexerMain) (name LexerMain)
(libraries (libraries
parser_cameligo) parser_cameligo)
(modules (modules
LexerMain) LexerMain)
(flags (:standard -open Parser_shared -open Parser_cameligo))) (flags (:standard -open Parser_shared -open Parser_cameligo)))
(executable (executable
(name ParserMain) (name ParserMain)
(libraries (libraries
parser_cameligo) parser_cameligo)
(modules (modules
ParserAPI ParErr
ParserMain) ParserAPI
ParserMain)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo))) (flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))

View File

@ -20,19 +20,15 @@
(executable (executable
(name LexerMain) (name LexerMain)
(libraries (libraries
hex hex simple-utils tezos-utils parser_pascaligo)
simple-utils (modules LexerMain)
tezos-utils
parser_pascaligo)
(modules
LexerMain)
(flags (:standard -open Parser_shared -open Parser_pascaligo))) (flags (:standard -open Parser_shared -open Parser_pascaligo)))
(executable (executable
(name ParserMain) (name ParserMain)
(libraries (libraries parser_pascaligo)
parser_pascaligo) (modules
(modules ParserMain) ParErr ParserAPI ParserMain)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_pascaligo))) (flags (:standard -open Simple_utils -open Parser_shared -open Parser_pascaligo)))
(executable (executable

View File

@ -8,31 +8,33 @@
(library (library
(name parser_reasonligo) (name parser_reasonligo)
(public_name ligo.parser.reasonligo) (public_name ligo.parser.reasonligo)
(modules SyntaxError reasonligo LexToken Parser) (modules
SyntaxError reasonligo LexToken Parser)
(libraries (libraries
menhirLib menhirLib
parser_shared parser_shared
parser_cameligo parser_cameligo
str str
simple-utils simple-utils
tezos-utils tezos-utils
getopt) getopt)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo))) (flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))
(executable (executable
(name LexerMain) (name LexerMain)
(libraries (libraries
parser_reasonligo) parser_reasonligo)
(modules (modules
LexerMain) LexerMain)
(flags (:standard -open Parser_shared -open Parser_reasonligo))) (flags (:standard -open Parser_shared -open Parser_reasonligo)))
(executable (executable
(name ParserMain) (name ParserMain)
(libraries (libraries
parser_reasonligo parser_reasonligo
parser_cameligo) parser_cameligo)
(modules (modules
ParErr
ParserAPI ParserAPI
ParserMain) ParserMain)
(flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo))) (flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo)))