diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 54 |
1 files changed, 54 insertions, 0 deletions
@@ -2,6 +2,60 @@ GNU Bison NEWS * Noteworthy changes in release ?.? (????-??-??) [?] +** Changes + +** New features + +*** Option -H, --header and directive %header + + The option -H/--header supersedes the option --defines, and the directive + %header supersedes %defines. Both --defines and %defines are, of course, + maintained for backward compatibility. + +*** Option --html + + Since version 2.4 Bison can be used to generate HTML reports. However it + was a two-step process: first bison must be invoked with option --xml, and + then xsltproc must be run to the convert the XML reports into HTML. + + The new option --html combines these steps. The xsltproc program must be + available. + +*** A C++ native GLR parser + + A new version of the generated C++ GLR parser was added as "glr2.cc". It + is forked from the existing glr.c/cc parser, with the objective of making + it a more modern, truly C++ parser (instead of a C++ wrapper around a C + parser). Down the line, the goal is to support `%define api.value.type + variant` and maybe share code with lalr1.cc. + + The current parser should be identical in terms of interface, functionality + and performance to "glr.cc". To try it out, simply use + + %skeleton "glr2.cc" + +*** Counterexamples + + Counterexamples now show the rule numbers, and always show ε for rules + with an empty right-hand side. For instance + + exp + ↳ 1: e1 e2 "a" + ↳ 3: ε • ↳ 1: ε + + instead of + + exp + ↳ e1 e2 "a" + ↳ • ↳ ε + +*** Lookahead correction in Java + + The Java skeleton (lalr1.java) now supports LAC, via the %define variable + parse.lac. + +* Noteworthy changes in release ?.? (????-??-??) [?] + ** Bug fixes *** Bug fixes in yacc.c |