Source

ocaml-lib / syntax.ml

Author Commit Message Labels Comments Date
Sébastien Ferré
Git
Sébastien Ferré
Token replaced by Tokens. Symbol replacing Ident and Term.
Sébastien Ferré
Fusion of Ident, Term, and symbols.
Sébastien Ferré
Bug fix in parse_float and parse_num.
Sébastien Ferré
bug fix in string_escaped. handling of floats. more keywords.
Sébastien Ferré
Better handling of PP_* tokens (removing them when parsing, e.g.). Some utilities.
Sébastien Ferré
Improved syntax error messages.
Sébastien Ferré
Add of 'length' and parsing of options.
Sébastien Ferré
definition and use of 'term_escaped'.
Sébastien Ferré
In 'parse_tokens', filtering of PP-tokens.
Sébastien Ferré
Add of 'print_string'.
Sébastien Ferré
Change in printing of Plus and Minus (no leading white). Add of 'parse_tokens': try to parse a given list of tokens.
Sébastien Ferré
Correction in the printing of floats.
Sébastien Ferré
Customization of the writing of floats, to take into account the precision.
Sébastien Ferré
EOL is no more a token. pp_print_token now depends on previous token (to avoid clash of idents, for instance).
Sébastien Ferré
generic parser of propositionnal languages.
Sébastien Ferré
Add of pretty-printing tokens.
Sébastien Ferré
Use of pretty-printing (module Format) for printing tokens.
Sébastien Ferré
Add of 'keywords'.
Sébastien Ferré
Add of terms, and function 'list_of_stream' and 'stream_of_list'.
Sébastien Ferré
RightPar, RightBra and RightAcc becomes Separators instead of PonctR.
Sébastien Ferré
Add of token 'DotDot' = "..".
Sébastien Ferré
Initial revision