Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2008-04-17 16:32:44


Olaf Peter wrote:
> Hi,
>
> I'm using a lot of functor parsers and combine them in one grammar.
> Now, my grammar explodes at the time. Therefore I want to split/compile
> the functor parsers into separate files. This requires a forward
> declaration. Well, how to perform this??
>
> spirit::functor_parser<functor> functor_p;
>
> is an instance.

The same ideas mentioned here:
http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/doc/faq.html#compilation_times

should help. I.e. Put the function bodies in separate cpp files
(possibly using explicitly) instantiation)

Anyway, FYI, here's the Spirit user's mailing list:
https://lists.sourceforge.net/lists/listinfo/spirit-general

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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