[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/11] glr2.cc: add support for token constructors
From: |
Akim Demaille |
Subject: |
[PATCH 00/11] glr2.cc: add support for token constructors |
Date: |
Sun, 10 Jan 2021 17:58:59 +0100 |
I'm very happy to announce that glr2.cc now supports token
constructors. We now need to polish the skeleton, strenghthen the
test suite, and of course run it on real world test cases.
Please report your mileage!
To make testing easier, I have wrapped a tarball here:
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.4.254-a0905.tar.gz
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.4.254-a0905.tar.lz
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.4.254-a0905.tar.xz
Cheers!
Akim Demaille (11):
tests: fix definition for parser class name
glr: tests: formatting changes
glr: tests: more macros
glr: examples: fix locations
glr2.cc: fix memory leak
glr2.cc: use references to print symbols
glr2.cc: example: style changes
glr2.cc: rely on symbol kinds rather than token kinds
glr2.cc: tests: simplify
glr2.cc: introduce the yytranslate_ member function
glr2.cc: add support for api.token.constructor
TODO | 5 -
data/skeletons/c++.m4 | 2 +-
data/skeletons/glr2.cc | 310 +++++++++++++++-------------
examples/c++/glr/c++-types.test | 20 +-
examples/c++/glr/c++-types.yy | 133 ++++++------
examples/c/glr/c++-types.test | 18 +-
examples/c/glr/c++-types.y | 2 +-
tests/cxx-type.at | 38 ++--
tests/glr-regression.at | 355 ++++++++++++++++++--------------
tests/local.at | 16 +-
10 files changed, 488 insertions(+), 411 deletions(-)
--
2.30.0
- [PATCH 00/11] glr2.cc: add support for token constructors,
Akim Demaille <=
- [PATCH 01/11] tests: fix definition for parser class name, Akim Demaille, 2021/01/10
- [PATCH 02/11] glr: tests: formatting changes, Akim Demaille, 2021/01/10
- [PATCH 03/11] glr: tests: more macros, Akim Demaille, 2021/01/10
- [PATCH 04/11] glr: examples: fix locations, Akim Demaille, 2021/01/10
- [PATCH 05/11] glr2.cc: fix memory leak, Akim Demaille, 2021/01/10
- [PATCH 06/11] glr2.cc: use references to print symbols, Akim Demaille, 2021/01/10
- [PATCH 07/11] glr2.cc: example: style changes, Akim Demaille, 2021/01/10
- [PATCH 08/11] glr2.cc: rely on symbol kinds rather than token kinds, Akim Demaille, 2021/01/10
- [PATCH 09/11] glr2.cc: tests: simplify, Akim Demaille, 2021/01/10
- [PATCH 11/11] glr2.cc: add support for api.token.constructor, Akim Demaille, 2021/01/10