View mode: basic / threaded / horizontal-split · Log in · Help
September 23, 2004
Parsers and Spirit
Is anyone out there working on a generic parser framework, along the lines of
spirit or something similar?  I remember sprit was mentioned some time back in
reference to parsing D (with lex, yacc, lalr parsers and the whole family being
brought up as well).  Yet I cannot recall if anyone managed to port it or use it
to good effect on D.

Thanks.

pragma(EricAnderton,"at","yahoo");
September 23, 2004
Re: Parsers and Spirit
Pragma wrote:
> Is anyone out there working on a generic parser framework, along the lines of
> spirit or something similar?  I remember sprit was mentioned some time back in
> reference to parsing D (with lex, yacc, lalr parsers and the whole family being
> brought up as well).  Yet I cannot recall if anyone managed to port it or use it
> to good effect on D.

I wrote something sort of like Sprit in D awhile ago, though I used 
polymorphism instead of expression templates (as Spirit does), so it's 
probably a good deal slower.  It's part of Apropos now. (which you can 
find at <http://andy.tadan.us/d>)

 -- andy
Top | Discussion index | About this forum | D home