[Issue 1255] New: operator overloading

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Jun 3 07:30:06 PDT 2007


<d-bugmail at puremagic.com> wrote in message 
news:bug-1255-3 at http.d.puremagic.com/issues/...
> http://d.puremagic.com/issues/show_bug.cgi?id=1255
> Hi, I try to figure out, whether a port of boost::spirit to D would be
> possible.

Kind of OT, but I think one of the questions is: is it really necessary to 
have something like Spirit in D?  We have much more powerful compile-time 
constructs at our disposal, like CTFE, compile-time string manipulation, and 
string mixins, which basically allow us to generate any kind of code we'd 
like from some other, more reasonable looking DSL.

An example can be found here: http://www.dsource.org/projects/scrapple under 
DParser.  A link to the relevant topic is: 
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.announce&article_id=6664. 
So you can write grammars that look like grammars, which is pretty nice. 




More information about the Digitalmars-d-bugs mailing list