Module Logtk_parsers.Util_tip
Utils for TIP
module A = Tip_ast
type parser_res
= (A.statement Sequence.t, string) CCResult.t
type 'a parser_
= 'a -> parser_res
val parse_lexbuf : Lexing.lexbuf parser_
parse lexbuf.
- parameter recursive
if true, parse includes too, relative to current dir. Default true.
- parameter cache
parse cache to use if
recursive = true
val parse_stdin : unit parser_
parse stdin. Does not expand includes.
val parse_file : string parser_
parse_file ~recursive file
parsesfile
- parameter recursive
if true, recursively parse includes. Default true.
- parameter cache
parse cache to use if
recursive = true
val convert : A.statement -> Logtk.UntypedAST.statement list
Translation to the native format, removing matching, if, etc.
val convert_seq : A.statement Sequence.t -> Logtk.UntypedAST.statement Sequence.t