Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module type PARSER_INTERFACE = sig ... end
The interface that should be provided by every lexer/parser of an input language
val register_parser : lang:string -> (module PARSER_INTERFACE) -> unit
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.