Add ImportC compiler to dmd
Max Haughton
maxhaton at gmail.com
Sun May 9 23:41:49 UTC 2021
On Sunday, 9 May 2021 at 20:57:06 UTC, Walter Bright wrote:
> https://github.com/dlang/dmd/pull/12507
>
> If you could add a C compiler to dmd with 3000 lines of code,
> so C code could be imported directly? I would!
```C
struct forward;
struct forward {
//impl
}
```
is very common in C, D doesn't allow such a concept, therefore
using the D AST seems like it could be a problem.
More information about the Digitalmars-d
mailing list