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 COMBINATOR = sig ... endmodule type CHAR_DECODER = sig ... endDecoder for unicode characters.
module type CHAR_ENCODER = sig ... endEncoder for unicode characters.
module type CHAR_CODEC = sig ... endEncoder and decoder for unicode characters.