Lexer in D

Namespace rswhite4 at googlemail.com
Thu Mar 21 04:36:41 PDT 2013


On Friday, 15 March 2013 at 08:20:18 UTC, Namespace wrote:
> So far, my lexer is pure exercise.
> But my goal is actually to filter variables and functions, to 
> see if they are ever used in the code.

I'm almost finished. In my few tests, my little parser detects 
function, struct and variable declarations and expressions. It 
can resolve rvalue references (by creating temporary variables) 
and detects unused/underused variables. But it is still a beta. 
But it makes a lot of fun. :D


More information about the Digitalmars-d-learn mailing list