I've created a dub package for the D version of DMD's lexer, generated automatically from the C++ source.github: https://github.com/yebblies/ddmd dub: http://code.dlang.org/packages/ddmd
I've pushed a new version which should fix the 64-bit build errors.