www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - So what about the boost::spirit like libraries ?

reply Guillaume Chereau <charlie137 gmail.com> writes:
Hello
I saw on the forum that some people were working on D versions of boost::spirit
library for compile time parser generator.
How are the projects on that going ? Do we have something usable already ? Will
this be added to phobos in the future ?

Thanks,
Guillaume
Mar 03 2007
parent BCS <ao pathlink.com> writes:
Reply to Guillaume,

 Hello
 
 I saw on the forum that some people were working on D versions of
 boost::spirit library for compile time parser generator.
 
 How are the projects on that going ? Do we have something usable
 already ? Will this be added to phobos in the future ?
 
 Thanks,
 Guillaume

http://www.dsource.org/projects/scrapple/browser/trunk/dparsTake er/dparse.d it supports |, ?, * and +. The input looks a lot like BNF as well. Take a look at the commets for examples.
Mar 04 2007