Files
bison/examples/c++/glr
Akim Demaille f9b360663b glr2.cc: add an example
Currently this example crashes on input such as "T (x) + y;".
The same example with glr.c works properly.

* examples/c++/glr/Makefile, examples/c++/glr/README.md,
* examples/c++/glr/c++-types.test, examples/c++/glr/c++-types.yy,
* examples/c++/glr/local.mk, examples/c++/local.mk: New.
Based on examples/c/glr/c++-types.y.
2020-09-26 18:33:48 +02:00
..
2020-09-26 18:33:48 +02:00
2020-09-26 18:33:48 +02:00
2020-09-26 18:33:48 +02:00
2020-09-26 18:33:48 +02:00
2020-09-26 18:33:48 +02:00

glr

This example demonstrates the use of GLR parsers to handle (local) ambiguities in the C++ language. See the node "Merging GLR Parses" in Bison's documentation.