Lexer in D

Namespace rswhite4 at googlemail.com
Sun Mar 24 09:08:00 PDT 2013


On Saturday, 23 March 2013 at 15:39:50 UTC, Namespace wrote:
> On Thursday, 21 March 2013 at 11:36:45 UTC, Namespace wrote:
>> 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
>
> Moved to https://github.com/Dgame/DAT/

It's time for a beta. Would be nice if someone takes a look at 
DAT or try it.
I'm sure that there are still some bugs, but maybe this little 
recreational fun is indeed useful for one or the other.
I had a lot of fun.
It's tested with 'simple.d', std.stdio and std.datetime.


More information about the Digitalmars-d-learn mailing list