Nice work!
Note that Microsoft actually has a compiler from a Typescript subset into C++, as part of the MakeCode IoT education project.
Note that Microsoft actually has a compiler from a Typescript subset into C++, as part of the MakeCode IoT education project.
A compiler is a compiler, regardless of the target language.
Are you aware originally C compilers did not generate machine code directly, rather Assembly source and then called the Assembler on it.
C++ and Objective-C initially generated C.
Eiffel to this day generates either C and bytecode.
Nim and Haxe are another examples, and so forth.