help-bison
[Top][All Lists]
Advanced

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

Re: Including nonterminals in tab.h


From: Akim Demaille
Subject: Re: Including nonterminals in tab.h
Date: Fri, 03 Sep 2004 11:13:12 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

 > Akim,

hi!

 > I'm building a complex syntax tree and I think it will be useful to
 > be able to use some of the non-terminal names from the grammar as
 > node types rather than having to define new names.

 > Basically I'm just trying to save some typing and debugging.  I'd
 > prefer to define the node types in the grammar rather than to
 > invent them and spend a lot of time making sure that everything was
 > in sync.

I don't really understand how you would save typing the names in the
actions.  Could you should some sample of what you have in mind?




reply via email to

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