D Grammar in BNF Text Form?

Philpax via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 6 03:32:37 PDT 2014


On Friday, 6 June 2014 at 10:30:14 UTC, Tom Browder via 
Digitalmars-d wrote:
> Can anyone point me to a text version of the D grammar in some 
> kind of
> BNF or EBNF format?  The D lang web site's info is close, but 
> it's
> buried in html which I'ld rather not have to wrestle with.
>
> My purpose is to attempt to write a D language parser in Perl 
> using
> Damian Conway's Regex::Grammars module (on CPAN).
>
> Thanks.
>
> Best regards,
>
> -Tom

Check Brian Schott's work: https://github.com/Hackerpilot/DGrammar


More information about the Digitalmars-d mailing list