diff --git a/NEWS b/NEWS index b4f38496..0d09dc72 100644 --- a/NEWS +++ b/NEWS @@ -75,6 +75,15 @@ GNU Bison NEWS the translated symbol (i.e., it returns '_("variable")' rather that '"variable"'). +** Documentation + + There are now two examples in examples/java: a very simple calculator, and + one that tracks locations to provide acurate error messages. + + A new C example, bistromathic, is a fully featured calculator using many + Bison features: pure interface, location tracking, internationalized + custom error messages, lookahead-correction, rich debug traces, etc. + * Noteworthy changes in release 3.5.1 (2020-01-19) [stable] ** Bug fixes diff --git a/examples/java/README.md b/examples/java/README.md index 99275756..4be92c80 100644 --- a/examples/java/README.md +++ b/examples/java/README.md @@ -5,8 +5,11 @@ This directory contains examples of Bison grammar files in Java. You can run `make` to compile these examples. And `make clean` to tidy afterwards. -## java/Calc.y -The usual calculator. +## simple/Calc.y +The usual calculator, a very simple version. + +## calc/Calc.y +The calculator, but with location tracking and debug traces.