D Lexer

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Aug 8 14:38:52 PDT 2012


On 10/23/11, Martin Nowak <dawg at dawgfoto.de> wrote:
> I've written a fast and pretty complete D lexer
> (https://gist.github.com/1262321).
>
> It is based on a generic lexer component which will generate efficient
> matching
> functions at compile time (https://gist.github.com/1255439).
>
> I think there are still some compiler bugs to be sorted out so you won't
> be able to compile
> it out of the box.
>
> martin
>

With 2.060 I get:
dlexer.d(1547): Error: template instance
dlexer.putTokens!(string,LockingTextWriter) recursive expansion

Which version did you last compile this in succesfully? Thanks.


More information about the Digitalmars-d mailing list