Use dmd as a frontend
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Jun 18 06:22:44 UTC 2026
On 18/06/2026 6:14 PM, MaxBlack_AUT wrote:
> Hello @all,
>
> i am trying to get dmd as a frontend working, because i want to
> implement a new type of lsp.
> No luck so far either via LLMs or web searches. I can use 'libparse' but
> I saw the DConf video on the dmd as a lib video.
>
> Does anybody have a very simple example 'dub.json' and 'main.d' with
> extracting symbols from a D file, to see how I could get something
> compiling at least?
>
> Kind regards,
> Max
Something like this?
https://github.com/dlang/dmd/blob/master/compiler/test/dub_package/retrieve_scope.d
More information about the Digitalmars-d
mailing list