Is the grammar spec usable for generating parsers?

Peter Alexander at
Sat Nov 3 23:04:55 UTC 2018

On Saturday, 3 November 2018 at 22:29:59 UTC, Iain Buclaw wrote:
> First have a look here, from memory I ended up basing the D 
> grammar in gdb on this version instead.


Unfortunately, it seems that libdparse doesn't know about 'static 
import' and instead parses it as an importDeclaration within a 
'static' attribute block. I suppose this could be re-interpreted 
after the parsing stage.

More information about the Digitalmars-d mailing list