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

Alex Rønne Petersen xtzgzorex at gmail.com
Sun Mar 11 11:44:31 PDT 2012


On 11-03-2012 18:17, Philippe Sigaud wrote:
>  > By the way, bootstrap.d seems to fail to build at the moment:
>  >
>  > ../pegged/utils/bootstrap.d(1433): found ':' when expecting ')'
> following template argument list
>  > ../pegged/utils/bootstrap.d(1433): members expected
>  > ../pegged/utils/bootstrap.d(1433): { } expected following aggregate
> declaration
>  > ../pegged/utils/bootstrap.d(1433): semicolon expected, not '!'
>  > ../pegged/utils/bootstrap.d(1433): Declaration expected, not '!'
>  > ../pegged/utils/bootstrap.d(1466): unrecognized declaration
>
> Hmm, it compiled for me a few hours ago. I'll see if I broke something
> while pushing.
>
> I'll also try to make the whole grammar-modification process easier.
> Since users can modify Pegged own grammar, I might as well make that
> fluid and easy to do.
>
> I'll put the Pegged grammar as a string in a separate module and create
> a function that does the rest: modify the string, it will recompile the
> entire grammar for you.
>

Is bootstrap.d currently essential to actually use Pegged?

-- 
- Alex


More information about the Digitalmars-d-announce mailing list