Complete D grammar

Bruno Medeiros brunodomedeiros+spam at com.gmail
Wed Apr 13 06:58:56 PDT 2011


On 06/04/2011 19:05, Ellery Newcomer wrote:
> On 03/29/2011 07:53 AM, Bruno Medeiros wrote:
>> On 28/03/2011 18:19, Luca Boasso wrote:
>>> You can find an ANTLR grammar for D v1 at
>>> http://www.dsource.org/projects/antlrd/browser/toys/v3d/parsed.g (by
>>> Ellery Newcomer)
>>>
>
> I never should have uploaded that file.
>
>>
>> Indeed, Ellery is (AFAIK) the only one who has worked on ANLTR-based D
>> parser recently and possibly got any significant work done in that. It's
>> definitely worth looking at his work and see if anything can be reused.
>> However, according to his most recent message on the subject:
>>
>>
>> ...it may not provide much of head-start.
>>
>
> Been working on them for 3 years now. I should hope it would.
>
> As it is, I think I'm done with D and I probably won't be continuing
> that project, so if anyone wants to do anything further with it, they're
> welcome to it.
>
> https://bitbucket.org/ariovistus/d-jvm-cc
>
> I also have some netbeans plugin code somewhere. If memory serves, it
> can do syntax highlighting. If anyone wants it.

Thanks, it's worth taking a look for sure.
BTW, what is that Netbeans fork of antlr2, why was it created? I tried 
googling but couldn't find any info quickly.


-- 
Bruno Medeiros - Software Engineer


More information about the Digitalmars-d mailing list