Looking for champion - std.lang.d.lex
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Oct 23 14:51:43 PDT 2010
On 10/23/10 16:39 CDT, Nick Sabalausky wrote:
> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org> wrote in message
> news:i9v8vq$2gvh$1 at digitalmars.com...
> What's wrong with regexes? That's pretty typical for lexers.
I mentioned that using regexes is possible but would make it much more
difficult to generate good quality lexers.
Besides, regexen are IMHO quite awkward at expressing certain things
that can be easily parsed by hand, such as comments or recursive comments.
Andrei
More information about the Digitalmars-d
mailing list