www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Parsers and Spirit

reply Pragma <Pragma_member pathlink.com> writes:
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");
Sep 23 2004
parent Andy Friesen <andy ikagames.com> writes:
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
Sep 23 2004