OCaml Forge

File Release Notes and Changelog

Release Name: alpha-0.5

Release Notes

Another major change, the parser now supports token streams of any kind not just characters, therefore the grammar format is altered, the constructors T, Chars and Eof are removed all are replaced with the sole constructor "A (callback, name)" which  type is 
"A of (int -> string -> int) * string", see the README.

This amounts to have the lexical processing (possibly) deported out of the parser and into the caller with an "on-the-fly" lexeme processing (see how the demo has changed for numbers parsing for instance).
The 'demo.ml' has been modified accordingly but runs exactly the same, except for the format of most debug messages which cannot contain input text fragments since the parser is completely oblivious of the type of the token stream.