D lexer, parser, and ImportC parser are now standalone

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Apr 10 13:31:42 UTC 2023


On Monday, 10 April 2023 at 12:30:53 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> On 11/04/2023 12:17 AM, Andrej Mitrovic wrote:
>> It would be nice to have a very minimal sample dub project 
>> that uses these Module / Parser classes.
>
> There is: 
> https://github.com/dlang/dmd/tree/master/compiler/test/dub_package
>
> But yeah, there needs to be working examples for a formatter + 
> auto completion engine. That is both tested and with good 
> documentation; those two are probably the most common use cases 
> for such a tool.

Oh thanks, that's better. I see there's a call to initDMD(), it's 
probably what I was missing.


More information about the Digitalmars-d mailing list