Add ImportC compiler to dmd
Basile B.
b2.temp at gmx.com
Mon May 10 09:14:02 UTC 2021
On Monday, 10 May 2021 at 08:09:23 UTC, Ola Fosheim Grostad wrote:
> On Monday, 10 May 2021 at 02:12:02 UTC, Adam D. Ruppe wrote:
> ...
> It makes more sense to reuse clang and emit llvm IR.
Except that llvm IR is not understood by DMD, also llvm IR is
post-semantic.
So you you have to take the opposite path, i.e IR -> AST, which
is quite unusual.
Anyway, this is is not a bad idea, let's say for a another
project.
More information about the Digitalmars-d
mailing list