tree: 8f79d407c248d0d1f72abb47f4cc0077ddb9f9b6 [path history] [tgz]
  1. ast.hh
  2. c++-types.test
  3. c++-types.yy
  4. local.mk
  5. Makefile
  6. README.md
examples/c++/glr/README.md

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.

It uses (Bison) variants to store objects as semantic values. It also demonstrates custom error messages in C++.