I've been working on the next attepmpt at a std.lexer / std.d.lexer recently. You can follow the progress on Github here: https://github.com/Hackerpilot/lexer-work