mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
The "_" is becoming a keyword in Java, which causes tons of warnings currently in our test suite. GNU Gettext is now using "i18n" instead of "_" (https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=e89fea36545f27487d9652a13e6a0adbea1117d0). * data/skeletons/java.m4: Use "i18n", not "_". * examples/java/calc/Calc.y, tests/calc.at: Adjust.
Examples in Java
This directory contains examples of Bison grammar files in Java.
You can run make to compile these examples. And make clean to tidy
afterwards.
simple/Calc.y
The usual calculator, a very simple version.
calc/Calc.y
The calculator, but with location tracking and debug traces.