add translate into c source code function

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue May 9 07:54:30 UTC 2023


I suspect c++ would be a better target instead.

We already have a bunch of capability for this with the C++ header 
generator.

It only need to support a subset of the language, just enough to 
bootstrap the compiler. This would be a massive boost in undoing any 
harm from self hosting wrt. getting a working compiler going on a given 
target.

Not to mention the potential to making gdc/ldc lives a bit easier.


More information about the Digitalmars-d mailing list