4 Jul 19:29
Re: [proto] grammar compile error
Eric Niebler <eric <at> boostpro.com>
2009-07-04 17:29:41 GMT
2009-07-04 17:29:41 GMT
Felipe Magno de Almeida wrote: > And I want to create the looser grammar, composed of all > sub-expressions inside the full grammar somehow. Is there a way to do > this in proto, or should I start creating it with mpl? > Is there a way to iterate a grammar? This sounds like more work than is truly necessary. There is really only one good reason to specify a grammar when defining a domain, and that is to disable troublesome operator overloads. My suggestion would be to not specify your dsel's grammar up front, but rather only validate full expressions at the point of evaluation. You lose no safety that way. -- -- Eric Niebler BoostPro Computing http://www.boostpro.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed