Let's stop parser Hell

Philippe Sigaud philippe.sigaud at gmail.com
Thu Jul 5 12:54:29 PDT 2012


On Thu, Jul 5, 2012 at 8:28 PM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:

> I'll be glad to buy for you any book you might feel you need for this.
> Again, there are few things more important for D right now than exploiting
> its unmatched-by-competition features to great ends. I don't want the lack
> of educational material to hold you down. Please continue working on this
> and let me know of what you need.

That's nice of you, if a bit extreme for a public mailing list :)
Andrei, money is no problem :)
Interest in the field of parsing is no problem.
Interest in D future is no problem.
Having a demanding job, and three children, is a problem. No, scratch
that, you know what I mean.

But hey, Roman is doing interesting things on keyword parsing right
now, and changing the parser generated by Pegged is not difficult. We
will see where this thread lead. (Roman, you should send your results
here, because I'm still taken aback by the built-in AA speed compared
to linear array look-up for 100 keywords).

As Dmitry said, we might hit a CTFE wall: memory consumption,
computation speed, ...
(*channelling Andrei*: then we will correct whatever makes CTFE a
problem. Right)

Philippe

(Hesitating between 'The Art of the Metaobject Protocol' and
'Compilers, Techniques and Tools', right now)


More information about the Digitalmars-d mailing list