D grammar as LL(1) grammar ( OT)
Jascha Wetzel
firstname at mainia.de
Tue Sep 18 11:57:22 PDT 2007
Manfred Nowak wrote:
> Jascha Wetzel wrote
>
>> that grammar successfully parses tango,
>> phobos, derelict, blade, dfl, core32 and more.
>
> This indicates only that your parsing system might accept a super set
> of the D language.
>
> From looking at the grammar I conclude that your parsing system might
> accept sources that are not accepted by DMD.
definitely. the grammar in the docs is a lot more general than the DMD
parser. i'm narrowing it down more and more. also, i'm going chase the
parser through DStress, which also includes negative test cases.
> BTW do you have some papers on the "tdfa" you use?
http://laurikari.net/ville/spire2000-tnfa.pdf
More information about the Digitalmars-d
mailing list