Invoking the compiler during runtime

cy dlang at verge.info.tm
Wed Aug 5 07:57:20 UTC 2020


On Wednesday, 5 August 2020 at 06:02:58 UTC, cy wrote:
> Some way to import the compiler itself, instead of calling it 
> in a subprocess?

Well, I did find this: 
https://dlang.org/blog/2017/08/01/a-dub-case-study-compiling-dmd-as-a-library/

But it's pretty advanced... probably just invoking dmd would be 
good...



More information about the Digitalmars-d-learn mailing list