www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: D Lexer

reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
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.
Aug 08 2012
parent reply "Martin Nowak" <dawg dawgfoto.de> writes:
 Which version did you last compile this in succesfully? Thanks.
Try https://github.com/dawgfoto/lexer.
Aug 09 2012
parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
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! :)
Aug 09 2012