Invoking the compiler during runtime

Jacob Carlborg doob at me.com
Wed Aug 5 17:44:49 UTC 2020


On 2020-08-05 09:57, cy wrote:

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

That is more for using the frontend, not the backend for generating code.

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

You can start with that at least.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list