EBNF for D?

BCS BCS at pathlink.com
Thu Mar 27 15:14:46 PDT 2008


Paul D Anderson wrote:
> Two related questions:
> 
> 1. Do the EBNF statements scattered throughout the D specification form a complete description of the D grammar?
> 

no

> 2. Is there a "non-scattered" version of the grammar available?
> 

kind.

As for part 1, the grammar is incomplete and wrong, but only in a few 
tiny places. I'm working on fixing them and am going to submit a patch 
to Walter in a few days. This is a result of something connected with 
part 2; I have a sed script that extracts the grammar from the HTML and 
converts it to EBNF (or a dialect there of) I'll release it if anyone is 
interested.

> Paul
> 



More information about the Digitalmars-d mailing list