D Parsing (again)/ D grammar

via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 2 10:39:54 PDT 2014


On Thursday, 2 October 2014 at 15:47:04 UTC, Vladimir Kazanov 
wrote:
> 3. The automatically generated code repeats the original 
> grammar structure - the same way recursive decent parsers do.
>
> 4. The core parser is still that simple LL/RD parser I can 
> practically debug.

This sounds nice! Does this mean that it would be possible to use 
your parser generator to create a skeleton which is then 
manipulated manually or is there non-local complexities that 
makes manual edits risky?

One reason I believe GLL is the right way to go is that I think 
RD makes it easier to generate good error messages suitable for 
display (to the end user).


More information about the Digitalmars-d mailing list