[GSoC] "Language Server Protocol in D" - progress and update thread

Jacob Carlborg doob at me.com
Wed May 29 20:41:45 UTC 2019


On 2019-05-29 19:44, Ben Jones wrote:

> Are there any examples of projects already using DMD as a library

I have a project, DLP, using DMD as a library [1]

> or docs somewhere on how to do so?

No, not really any documentation. I think it's best to look at the 
existing examples and tests:

Here's a simple usage [2]. Here are some slightly more advanced examples 
[3]. For a full application using DMD as a library, see my application, 
DLP [1].

[1] https://github.com/jacob-carlborg/dlp
[2] https://github.com/dlang/dmd/blob/master/test/unit/self_test.d
[3] https://github.com/dlang/dmd/blob/master/test/unit/frontend.d

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list