package alt-ergo-parsers
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c35b5b49ec2816a24c9325b083eefe237839ebaceb83331aeef041bed720b137
sha512=ed1486c0a86eb4cc66fc7b77f0d25f64949d7d134a456a78f6cdd19aa455b0808ba430cb6621fa89e89e09f5b48b1ad07fe4d5e29d0088d7804e09b4a2f712ac
doc/alt-ergo-parsers/AltErgoParsers/Parsers/index.html
Module AltErgoParsers.ParsersSource
The interface that should be provided by every lexer/parser of an input language
Registers a new 'parser' for the given extension/language
Parses the given file (lexbuf) using the appropriate 'parser' depending on the given language (set from extension) or the format set with the --input option. If no output format is set with the --output option, we set it depending on the extension / input format. by default if an input format is set results will be printed according this input format.
Parses the given expression (lexbuf) using the appropriate 'parser' depending on the given language. If no language is given, the default one is used.
Parses the given trigger (lexbuf) using the appropriate 'parser' depending on the given language. If no language is given, the default one is used.
Parses the given input file and eventual preludes. Parsers are chosen depending on the extension of different files.
val parse_problem_as_string :
content:string ->
format:string option ->
AltErgoLib.Parsed.fileParses the given input file as a string. Parser is chosen depending on the given format or the input_format set.