Oops, I think I had a "brain fart". The compiler is written in C++, but the executable is DMD which compiles D code, which allows unit testing.