Pure D frontend as library.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Dec 27 08:50:51 UTC 2022


On 27/12/2022 9:34 PM, Alexandru Ermicioi wrote:
> Any idea from which file should I start at least learning about this 
> glue code?

You can look at dmd's... but realistically the work hasn't been done at 
that level to make it easy to work with.

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/glue.d

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/gluelayer.d

Note how it doesn't let you use your own implementation. This is very 
much throwing you into the deep end without any help.


More information about the Digitalmars-d-learn mailing list