Pegged, a Parsing Expression Grammar (PEG) generator in D

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Mar 10 23:47:18 PST 2012


On 3/11/12 1:35 AM, Philippe Sigaud wrote:
> On Sun, Mar 11, 2012 at 08:26, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org>  wrote:
>> Splitting on ";" is trivial and makes client code considerably easier to
>> play with.
>
> It's already implemented! No need for ';'

Great! I think you'd be wise to add the ";", otherwise it's impossible 
to split complex rules on more than one line. Alternatively you could 
have the complement, a line continuation thingie.


Andrei


More information about the Digitalmars-d-announce mailing list