simple parser framework + lazy bool error
Larry Evans
cppljevans at cos-internet.com
Sun Jan 7 07:11:03 PST 2007
On 12/25/2006 08:02 PM, Daniel919 wrote:
> Hi, this code is working:
> http://mitglied.lycos.de/daniel919/parser.d
>
That's no longer available :(
Do you have any idea of how to implement the
grammar productions? Spirit's Joel used the
subrule_list template:
http://boost.cvs.sourceforge.net/boost/boost/boost/spirit/core/non_terminal/subrule.hpp
however, there was discussion of using an mpl-like map:
http://article.gmane.org/gmane.comp.parsers.spirit.devel/2970
There is a simplified mpl::map implementation prototype in the boost
vault here:
http://tinyurl.com/y9tuc3
Maybe it could be translated to D.
BTW, would a D vault counterpart to boost vault be useful for
quick review and feedback on code such as Daniel's?
More information about the Digitalmars-d
mailing list