Any usable parsers for D2 around?

Nick Sabalausky a at a.a
Tue Oct 26 22:34:43 PDT 2010


"Nick Sabalausky" <a at a.a> wrote in message 
news:ia8d66$1f7g$1 at digitalmars.com...
> "Andrej Mitrovic" <none at none.com> wrote in message 
> news:i981a0$i6a$1 at digitalmars.com...
>> Hey,
>>
>> I've been looking for a D2 parser.. there seems to be a few D1 lexers, 
>> parsers, and even some minimal semantic analysis tools but I can't find 
>> much of anything for D2. Perhaps Goldie will be D2 compatible some day 
>> soon. :)
>>
>
> If the latter (parsing some other language and just using D2 to parse it), 
> then if you don't mind dealing with trunk, Goldie has already been 
> switched over to D2/Phobos. It just isn't quite cleaned up enough for an 
> official release yet (the documentation hasn't been updated, the 
> documentation-generating tool is still in the middle of being ported 
> because it's waiting on a fix that will be in 2.050, and there's another 
> small thing or two I wanted to get in). I can help you out with any 
> troubles using the Goldie trunk if you want.
>

Although, since you said want to use it for an IDE, Goldie might not be up 
to it yet: AIUI, code editor controls usually do a "partial re-parsing" of 
one-line-at-a-time. Goldie's strictly "parse the whole thing" at the moment.




More information about the Digitalmars-d-learn mailing list