D Parsing (again)/ D grammar

Vladimir Kazanov via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 2 14:19:40 PDT 2014


On Thursday, 2 October 2014 at 20:28:47 UTC, Philippe Sigaud via 
Digitalmars-d wrote:
>>> I did that during this summer, almost to the point it was
>>> self-sustained (that is, the GLL parser generator was used to 
>>> generate
>>> a parser for grammars files). I chose a range interface: 
>>> input is a
>>> string, the parse forest is output as a range of parse trees.
>>
>>
>> Nice! Is it public? Github?
>
> No github repo. I could put it alongside Pegged, I suppose. I 
> used git
> internally, though.
>
>  I was a bit disheartened by the speed I got, so did not 
> publish nor
> announced it here.
>
> Note also that I saw it as an alternative engine for my own 
> Pegged
> project, so I used the same way of defining grammars (some 
> prefixes
> ans suffixes for dropping nodes in the parse tree and so on).
>
> I can send you the code (well the entire repo), if you wish. I 
> did not
> touch it for the past 3 months, so I already don't remember 
> what state
> it was in :-(.
> Looking at the code now, it seems I'm still using Pegged to 
> parse the
> initial grammar. Bootstrapping did not go well.
>
> Send me an email at firstname . lastname @gmail.com
>
> (philippe sigaud)
>

Check the mailbox,

Thank you


More information about the Digitalmars-d mailing list