For the lulz: ddmd vs libdparse lexer timings
Brian Schott via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 6 12:12:09 PST 2015
On Tuesday, 6 January 2015 at 12:39:27 UTC, Daniel Murphy wrote:
> Nice! How far would @forceinline go to getting the same
> results without the ugly?
@forceinline would solve all of it.
> I don't expect you to do this, but what features would ddmd's
> lexer need before you could entirely replace libdparse's with
> it?
It would have to be range-based and be capable of performing
syntax highlighting. My D lexer is based on lexer generator code
that might someday become std.lexer, so I want to keep it around
to make sure that the std.lexer code is good enough.
More information about the Digitalmars-d
mailing list