Current D grammar

Manfred Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 14 17:05:59 PDT 2015


With my favorite LALR-CompilerCompiler I analyzed the current D grammar. 
After preliminary eliminating the RR-conflicts around 1800 states remained, 
from which around 100 states are still contaminated with SR-conflicts.

Two possibilities:
1) Those ambiguities are not in DMD but introduced by excerpting the 
grammar from DMD
2) Those ambiguities do exist in DMD.

Which one do you prefer? Is the grammar usable?

-manfred


More information about the Digitalmars-d mailing list