Thread overview
Re: D Lexer
Aug 08, 2012
Andrej Mitrovic
Aug 09, 2012
Martin Nowak
Aug 09, 2012
Andrej Mitrovic
August 08, 2012
On 10/23/11, Martin Nowak <dawg@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.
August 09, 2012
> Which version did you last compile this in succesfully? Thanks.

Try https://github.com/dawgfoto/lexer.
August 09, 2012
On 8/9/12, Martin Nowak <dawg@dawgfoto.de> wrote:
>> Which version did you last compile this in succesfully? Thanks.
>
> Try https://github.com/dawgfoto/lexer.
>

Thanks! :)