Pure D frontend as library.
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Mon Dec 26 23:08:59 UTC 2022
On 27/12/2022 8:13 AM, Alexandru Ermicioi wrote:
> How easy is to use D compiler frontend without backend?
Easy.
https://github.com/dlang/dmd/blob/master/compiler/test/dub_package/frontend.d
> How complicated would be to write a transpiler, and from which files
> should you start modifications?
That on the other hand... Yeah, things aren't great on that front. The
thing you want to implement is what we call glue code and isn't really
setup right now for this (nobody has tried like this, ignoring ldc/gdc
as they modify it).
More information about the Digitalmars-d-learn
mailing list