[Top][All Lists]

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

Re: %type {...} a b c

From: Akim Demaille
Subject: Re: %type {...} a b c
Date: Wed, 12 Jul 2006 17:51:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 > I like the idea of equating a semantic type with a type in the
 > target language rather than with a union field name.  I also see
 > how modules might conflict on a field name, but types don't have
 > that problem.

It also solves one of the issues to support C++ variants in bison,
where we do not rely on a union, but on a templated structure,
parametrized by the various types.  That's *if* we use Boost Variants.

reply via email to

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