examples: add a demonstration of GLR parsers in C

Based on the test case 668 (cxx-type.at:437) "GLR: Merge conflicting
parses, pure, locations".

* examples/c/glr/Makefile, examples/c/glr/README.md,
* examples/c/glr/c++-types.test, examples/c/glr/c++-types.y,
* examples/c/glr/local.mk: New.
This commit is contained in:
Akim Demaille
2020-09-19 17:13:14 +02:00
parent d4ffb69424
commit 647453a614
6 changed files with 432 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ dist_c_DATA = %D%/README.md
include %D%/bistromathic/local.mk
include %D%/calc/local.mk
include %D%/glr/local.mk
include %D%/lexcalc/local.mk
include %D%/mfcalc/local.mk
include %D%/pushcalc/local.mk