tree: 9fa788c11ac16e85f3ef39361d28a2ca9eb6a99a [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++.