From: Philipp S. <ph...@gs...> - 2010-10-31 17:12:36
|
On Sun, Oct 31, 2010 at 09:51:21AM -0500, Hartmut Kaiser wrote: > > I think you lost me. Give me a small example, please. > Certainly! I've attatched a file to, which should contain a compiling bit of code. In predicate_grammar I want to reuse the already available parser, by supplying it as a template parameter, instantiating it as a member. My first question is, if the manner in which I'm querying the attribute type is relying on an implementation detail, or may be considered somewhat stable. The step I have most trouble is in composite_grammar. I retrieve the types from the grammars passed in and create rules based on these types. Of course this still has to match the attribute type supplied from the outside, which also gives me reason for concerns. I replicated the attribute type I would expect, both internally and from without, but the resulting grammar cannot be instantiated. It seems to me I am not comprehending something fundamental about attribute handling. thank you for your time Philipp > Regards Hartmut > --------------- > http://boost-spirit.com > > > > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Spirit-general mailing list > Spi...@li... > https://lists.sourceforge.net/lists/listinfo/spirit-general > |