digitalmars.D - Use dmd as a frontend
- MaxBlack_AUT (10/10) Jun 17 Hello @all,
- Richard (Rikki) Andrew Cattermole (3/16) Jun 17 Something like this?
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
Jun 17
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, MaxSomething like this? https://github.com/dlang/dmd/blob/master/compiler/test/dub_package/retrieve_scope.d
Jun 17








"Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz>