Compiler plugins?

Bastiaan Veelo Bastiaan at Veelo.net
Sun Mar 8 20:34:08 UTC 2020


On Sunday, 8 March 2020 at 18:37:49 UTC, Rel wrote:
> Do we have any option to hook into one of D's compilers pipe 
> line and transform the AST or some other intermediate 
> representation? Or is my task somehow can be solved with 
> metaprogramming?

Sounds like a case for dmd as a library:
https://dlang.org/blog/2017/08/01/a-dub-case-study-compiling-dmd-as-a-library/
https://forum.dlang.org/thread/okktlu$2bin$1@digitalmars.com

Bastiaan


More information about the Digitalmars-d mailing list