What you are asking for is a c/c++ frontend as part of the D compiler, which is completely infeasible.
Making a c frontend part of the compiler should be feasible. I can think of several distinct approaches.
Ola Fosheim Grøstad via Digitalmars-d Mon, 21 Sep 2015 01:01:36 -0700
What you are asking for is a c/c++ frontend as part of the D compiler, which is completely infeasible.
Making a c frontend part of the compiler should be feasible. I can think of several distinct approaches.