0.4.17-121
Pre-release
Pre-release
·
1540 commits
to master
since this release
New/improved:
- leaner production code (any unused features and unused diagnostics tables are not included in the generated output)
-tdebug mode works both ways: jison outputs diagnostic data while it compiles your grammar and your generated parser includes (switchable) diagnostics output code as well, allowing you to see the parser at work with any input you feed it and diagnose its behaviour. (yydebugmode)-T/--output-debug-tablescommand line option added for when you dearly miss thenonterminals_generator table in your parser (it is not used by the parser code itself but your 'outside' app code might be accessing this one (assuming you RTFC and read the comment docblock at the top of the generated parser(s)... ;-) )%token ID "description bla bla"now works as expected: thedescribeSymbol()API will now pick up and produce the description for the given token (this can impact your error messages and maybe your diagnostics code too)- basic
yyerrokandyyclearinsupport - cosmetic fixes