Fmlib_parse.InterfacesModule types
module type MINIMAL_PARSER = sig ... endA minimal parser is a sink of tokens which either succeeds or returns a list of failed syntax expectations.
module type NORMAL_PARSER = sig ... endA normal parser parses a stream of tokens like a MINIMAL_PARSER. In addition it can have a state and semantic errors.
module type FULL_PARSER = sig ... endA full parser parses a stream of tokens like a MINIMAL_PARSER. In addition it can have a state, semantic errors and gives access to the lookahead tokens.
module type LEXER = sig ... endA lexer is a restartable parser where the tokens are characters.
module type PARSER = sig ... endmodule type COMBINATOR = sig ... end