Official D Grammar

Tobias Pankrath tobias at pankrath.net
Wed May 1 08:34:14 PDT 2013


On Friday, 26 April 2013 at 20:44:12 UTC, Brian Schott wrote:
> On Saturday, 20 April 2013 at 08:31:34 UTC, Brian Schott wrote:
>> This uses ANTLR, as the other parser generators can't handle 
>> D's grammar.
>
> I'm beginning to think that ANTRL is not up to the task either. 
> I've somehow managed to get the grammar to the point where it 
> correctly parses several phobos modules but takes a half hour 
> to do so.

Do you know, which parts of the grammar make the parser so slow?
Do you use any suspicious features of ANTLR?


More information about the Digitalmars-d mailing list