Boost logo

Boost Users :

Subject: Re: [Boost-users] [Spirit] Problem with fairly big grammar
From: Chris Hoeppler (hoeppler_at_[hidden])
Date: 2009-11-08 09:33:16


On Sunday 08 November 2009, Ray Burkholder wrote:
> > I highly suggest moving to spirit2 if you are planning to do any
> > refactorization. In spirit2 (http://spirit.sourceforge.net/home/)
> > we have some examples that highlight this:
> >
> > calc6, calc7 and mini_c are examples of modular grammar constructions.
> > calc6 is simplest of the three and shows how you can:
> >
> > 1) embed grammars for modularization
> > 2) separate the grammar definition (constructor) from the class
> > declaration
> > 3) instantiate a particular grammar template in a cpp file.
>
> Would you be able to provide a direct link to the calc6, calc7 examples?
> They don't appear to be directly linked or described on the documentation
> page at:
> http://spirit.sourceforge.net/home/spirit2/libs/spirit/doc/html/index.html

http://svn.boost.org/svn/boost/trunk/libs/spirit/example/qi/calc6/

HTH,
Chris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net