Skip to content

Version 1.2

Compare
Choose a tag to compare
@cederberg cederberg released this 13 Mar 11:42
· 197 commits to master since this release
  • Added profiling for grammars
    A new action --profile has been added that prints out the statistics from a profiling run of the grammar. This is useful for improving the grammar and parsing speed. Bug #3936
  • Improved tokenizer performance
    The tokenizer performance has been much improved for string tokens. The tokenization speed is now about twice as fast (on average), meaning that the tokenizer will use half as much time for most input and grammars. Bug #3603
  • Improved the parse tree output on error
    The parse tree was previously only printed when a file could be parsed correctly. Now the parse tree is printed until the first syntax error is found. Bug #3930
  • Improved error message for missing % character
    When missing the final % character in the grammar file, the error message printed was not logical. This has been improved by printing an 'unterminated directive' error instead. Bug #3931
  • Improved the reference manual
    The reference manual has been improved to the point where it is considered finished. There is still room for much improvement, however, and such fixes will added in later versions. Bug #3598
  • Corrected unexpected token error messages
    In some circumstances the unexpected token error messages didn't list all possible tokens. This only ocurred for productions containing alternatives with ambiguities that were resolved with one alternative being set as the default. This has now been corrected, which should also improve the error recovery in these cases. Bug #3929

License: GNU GPL License (with linking exception)