DMD front-end can be used as a library with Dub
Seb via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 29 04:31:58 PDT 2016
On Monday, 29 August 2016 at 10:42:23 UTC, Alexander Breckel
wrote:
> I just tried to use the DMD frontend as a Dub package in my own
> project to parse and analyze D files and it ... just worked.
> The dub.json for dmd is fairly small and doesn't require any
> changes to the code. This might be common knowledge, but I was
> completely unprepared for this :)
>
> [...]
Nice :)
How about submitting this as PR?
Then you get updates for free and more people can work on
tweaking the DUB file.
More information about the Digitalmars-d
mailing list