[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] be able to store genuine objects in api.value.type

From: Akim Demaille
Subject: [PATCH 0/3] be able to store genuine objects in api.value.type
Date: Fri, 18 Dec 2020 07:42:00 +0100

Compared to, the main benefit expected from is to be able to
use genuine objects as semantic values, in particular using Bison's
variants.  But for Bison's variants to work properly, we first need to be
able to store objects in api.value.type (aka semantic_type or YYSTYPE).

This series of commits addresses this, and demonstrates it in the example.
This also proves that Valentin modeled all this properly, many thanks!

A genuine test (in tests/) is needed.  Ideally we should exploit the similar
tests made for (see "api.value.type" tests in

Akim Demaille (4):
  style: add missing copyright headers more self checks fix glr_stack_item::setState examples: use values to represent the AST

 THANKS                        |   1 +
 TODO                          |  17 ++++
 data/skeletons/        |  64 +++++++++----
 examples/c++/glr/ast.hh       | 174 ++++++++++++++++++++++++----------
 examples/c++/glr/c++-types.yy |  89 ++++++++++-------
 5 files changed, 239 insertions(+), 106 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]