I've created a dub package for the D version of DMD's lexer, generated automatically from the C++ source.
very cool.
on a related note, have you considered sharing your translation tool (c++ -> D)? I completely understand if you would rather not of course.
Laeeth.