bug-bison
[Top][All Lists]
Advanced

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

Re: trying out the c++ parser skeleton / b4_post_prologue


From: Akim Demaille
Subject: Re: trying out the c++ parser skeleton / b4_post_prologue
Date: Wed, 12 Jul 2006 09:13:10 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Anthony" == Anthony Heading <address@hidden> writes:

 > Hi,
 > Using a couple of hours on an airplane, I tried switching
 > some of my code to use the lalr1.cc c++ skeleton. It seems
 > natural to subclass the generated parser object,

Could you please detail why you'd like to do that?  For several
reasons, including recursion support, I think the proper way to extend
the parser is to couple it with a parsing driver.  See

http://www.gnu.org/software/bison/manual/html_mono/bison.html#A-Complete-C_002b_002b-Example

for an example.





reply via email to

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