D Grammar in BNF Text Form?
Tom Browder via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 6 15:24:26 PDT 2014
On Fri, Jun 6, 2014 at 2:26 PM, Brian Schott via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> If you somehow manage to get any parser generator to correctly handle D, you
> will be the first person in the world to have done so.
Oops, fools rushing in, eh?
> This may help:
> https://github.com/Hackerpilot/DGrammar/blob/master/grammar.html
Now I'm confused--the three files I've found have differences in
production rules--it looks like I'll have to look at what the
compiler is actually doing--I'm putting that off for a while unless
someone has another idea .
Best,
-Tom
More information about the Digitalmars-d
mailing list