Will it be possible to write a GCC frontend in D?
bachmeier
no at spam.net
Wed Feb 23 20:06:58 UTC 2022
On Wednesday, 23 February 2022 at 19:58:45 UTC, rempas wrote:
> I'm using a book called "modern compiler design (version 2)" to
> learn how to create compiler and I thought about learning and
> applying this knowledge on writing a GCC frontend just for fun
> to see where this gets me. However, I've seen some tutorials
> and I've seen people doing it in C++. Now, I want to do it in D
> (of course!). My problem is that I don't if the headers are
> using C++ features because If this is possible then I won't be
> able to use ImportC to "automatically" get bindings to use in
> D. Any ideas?
Not sure if this is the same thing (a link would have helped) but
[this is done in
C](https://www.cs.usfca.edu/~galles/compilerdesign/C/csupport.html)
More information about the Digitalmars-d-learn
mailing list