Files
bison/examples/java
Akim Demaille 258c2c967f doc: java: SymbolKind, etc.
Why didn't I think about this before???  symbolName should be a method
of SymbolKind.

* data/skeletons/lalr1.java (YYParser::yysymbolName): Move as...
* data/skeletons/java.m4 (SymbolKind::getName): this.
Make the table a static final table, not a local variable.
Adjust dependencies.
* doc/bison.texi (Java Parser Interface): Document i18n.
(Java Parser Context Interface): Document SymbolKind.
* examples/java/calc/Calc.y, tests/local.at: Adjust.
2020-04-13 16:54:48 +02:00
..
2020-04-13 16:54:48 +02:00
2020-02-05 13:17:00 +01:00
2020-02-05 13:17:00 +01:00

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.