EBNF grammar for D?

Philippe Sigaud philippe.sigaud at gmail.com
Mon Mar 12 23:02:17 PDT 2012


Alix Pexton:

> Rainer Schuetze pulled all the grammar out of the docs and fixed them up
a while back as part of his work on Visual D. Its not in straight EBNF and
it may not be 100% up to date, but it may be a good place to start.
>
> http://www.dsource.org/projects/visuald/wiki/GrammarComparison
>
> I hope that is of some use!

It is! Thanks Alix and thanks Rainer, the page is clean and readable. I'll
use it at once.

I admit reading the spec in detail for the first time yesterday, and I had
a few WAT moments. No with the way it's written per se, but for what is
seemingly allowed by the D grammar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120313/9c007118/attachment.html>


More information about the Digitalmars-d mailing list