D parsing

Chris Cain clcain at uncg.edu
Wed Nov 6 01:09:31 PST 2013


On Wednesday, 6 November 2013 at 08:34:32 UTC, Chad Joan wrote:
> Also, IIRC, it is believed that string mixins with CTFE are 
> potentially more powerful.

Maybe. But first, the point that Brian Schott brought up has to 
be addressed (language spec and DMD must be in sync). Second, 
CTFE has to get more efficient. It's _very_ easy to make it run 
out of memory and it's fairly slow at executing. But yeah, I 
agree that there could be a library AST manipulator and it'd be 
pretty nice. But it'll require that two sets of parsers in two 
different languages be kept in sync, which is likely to be a 
challenge.

There's pros and cons to both of the approaches, really.


More information about the Digitalmars-d mailing list