D grammar as LL(1) grammar ( OT)

Aziz K. aziz.kerim at gmail.com
Sun Sep 16 03:41:06 PDT 2007


Hello Björn,

BLS wrote:
> Do you see a chance to describe D grammar as LL(1) grammar..
Unfortunately not :/. Take this case for example:

auto dg = (int a){ return 0; };

You would have to peek behind the closing parenthesis for an opening curly  
bracket to know if you have to parse this as a delegate.

Regards,
Aziz



More information about the Digitalmars-d mailing list