Release D 2.069.0
Sebastiaan Koppe via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Nov 9 03:10:58 PST 2015
On Monday, 9 November 2015 at 09:19:11 UTC, Bastiaan Veelo wrote:
> Yes, use asModule() for that [1]. Not only does it enable using
> large grammars, it also saves compilation time for builds after
> the grammar has stabilised.
Thanks.
> And should the grammar still be too large, it is good to know
> that Pegged is good at composing a parser from different
> sub-grammars [2]. So the difficulty is only in finding natural
> boundaries at which the grammar can be split, making it work
> should be easy.
I knew about composition. I just wanted to keep the same names as
per the original spec, instead of nesting.
More information about the Digitalmars-d-announce
mailing list