ligo/src/passes/1-parser/pascaligo/ParserMain.ml

28 lines
551 B
OCaml
Raw Normal View History

(** Driver for the PascaLIGO parser *)
2019-05-12 20:56:22 +00:00
module IO =
struct
let ext = ".ligo"
let options = EvalOpt.read "PascaLIGO" ext
end
module ExtParser =
struct
type ast = AST.t
type expr = AST.expr
include Parser
end
module ExtParserLog =
struct
type ast = AST.t
include ParserLog
end
module M = ParserUnit.Make (IO)
(Lexer.Make (LexToken))
(AST)
(ExtParser)
(ParErr)
(ExtParserLog)