Let's stop parser Hell
Timon Gehr
timon.gehr at gmx.ch
Tue Jul 10 16:49:57 PDT 2012
On 07/11/2012 01:16 AM, deadalnix wrote:
> On 09/07/2012 10:14, Christophe Travert wrote:
>> deadalnix , dans le message (digitalmars.D:171330), a écrit :
>>> D isn't 100% CFG. But it is close.
>>
>> What makes D fail to be a CFG?
>
> type[something] <= something can be a type or an expression.
> typeid(somethning) <= same here
> identifier!(something) <= again
'something' is context-free:
something ::= type | expression.
More information about the Digitalmars-d
mailing list