mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
examples: move the variant examples into the C++ directory
* examples/variant-11.test examples/variant-11.yy, * examples/variant.test examples/variant.yy: Move into examples/c++/. * examples/c++/README: New. * examples/README, examples/c++/local.mk, examples/local.mk: Adjust.
This commit is contained in:
@@ -24,15 +24,7 @@ https://www.gnu.org/software/bison/manual/html_node/Multi_002dfunction-Calc.html
|
||||
|
||||
* Examples in C++
|
||||
|
||||
** variant.yy - Self-contained example in C++
|
||||
A simple C++ example in a single file, based on variants and symbol
|
||||
constructors. Variants allow to use any C++ type as semantic value type,
|
||||
and symbol constructors ensure consistency between declared token type and
|
||||
effective semantic value.
|
||||
|
||||
** variant-11.yy - Self-contained example in modern C++
|
||||
Another simple C++ example, closely related to the previous one, but
|
||||
exhibiting support for C++11's move semantics.
|
||||
** c++ - A directory of simple C++ examples
|
||||
|
||||
** calc++ - A Complete C++ Example
|
||||
A fully featured C++ version of the canonical example for parsers: a
|
||||
|
||||
Reference in New Issue
Block a user