On 2013-02-05 04:22, Andrei Alexandrescu wrote:

Suggestion: take lexer.c and convert it to D. Should take one day, and
you'll have performance on par.

There's reason for why nobody has just extract the lexer from DMD. It will probably take more than a day just to extract the lexer to be able to use it without the rest of DMD.

It's probably easier to do the actual porting than extract the lexer.

Actually, when I think about it, Johnathan is working on porting the DMD lexer to D.

--
/Jacob Carlborg

Reply via email to