Dis Boot Compiler rewrite in C++ (from D)