Sorry I couldn't make it to Berlin. Anyone interested is of course still welcome to check out the Kiwi grammar as it handles most hard cases now. It's LEG not PEG format but not that hard to convert.
On May 16, 2011 11:01 PM, "Mike Dupont" <
jamesmikedupont@googlemail.com> wrote:
> sure, fork away,
> my current work is to remove all duplicate rules.
> also the things like / &"\uE000" ParserEntity are not supported.
> I will try out your parser as well.
> ooopps, what is that? very strange,,,, ok, maybe I will leave it to
> you first. if you can post english instructions on how to use it...
>
> mike
>
> On Mon, May 16, 2011 at 9:38 PM, Alan Post <
alanpost@sunflowerriver.org> wrote:
>> I've written a PEG parser is Scheme, called genturfa'i:
>>
>>
http://wiki.call-cc.org/eggref/4/genturfahi>>
>> I would be more than happy to work with you on making a peg
>> description that works with my parser. What would be the
>> best way for me to help? Should I fork your github project?
>> If I do that, will you articulate how best to include PEG
>> parser-specific aspects of any tool that uses your PEG file?
>>
>> -Alan
>>
>> On Mon, May 16, 2011 at 09:22:08PM +0200, Mike Dupont wrote:
>>> well you can find my current work in progress here
>>>
https://github.com/h4ck3rm1k3/sweble-wikitext/blob/master/swc-parser-lazy/src/mediawiki.peg
>>> I am using this tool to compile it, peg-1.4 from
>>>
http://piumarta.com/software/peg/peg-0.1.4/,
>>>
>>> It is still work in progress, but I have a bunch of different peg
>>> tools I would like to try it out with.
>>> It seems that we will needs a standard api for declaring states and
>>> checking them...
>>> mike
>>>
>>> On Mon, May 16, 2011 at 5:08 PM, Brion Vibber <
brion@wikimedia.org> wrote:
>>> > On Sun, May 15, 2011 at 2:26 PM, Mike Dupont
>>> > <
jamesmikedupont@googlemail.com> wrote:
>>> >>
>>> >> Hi,
>>> >> I am sorry I did not make the meeting,. I have been working on swebel,
>>> >> and am in the middle or trying to convert the grammar from rats! to
>>> >> pegs format.
>>> >> there are very many tools that support pegs. I am aware of some of the
>>> >> difficulties in the grammar that are using some hacks to set the
>>> >> flags, will have to work on them later.
>>> >
>>> > Great! We seem to be initially working with PEG-style tools for now (and
>>> > will probably stick with that for the formal portion of the grammar unless
>>> > we have a major revelation; though there's some variation in PEG parser
>>> > generator syntaxes, making clean definitions should help in making the
>>> > implementations easier to start.)
>>> >
>>> > Definitely looking forward to seeing updates & comparing some rule portions
>>> > directly.
>>> >
>>> > -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
>>> >
>>>
>>>
>>>
>>> --
>>> James Michael DuPont
>>> Member of Free Libre Open Source Software Kosova and Albania
>>>
flossk.org flossal.org
>>>
>>> _______________________________________________
>>> Wikitext-l mailing list
>>>
Wikitext-l@lists.wikimedia.org>>>
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
>>
>> --
>> .i ma'a lo bradi ku penmi gi'e du
>>
>> _______________________________________________
>> Wikitext-l mailing list
>>
Wikitext-l@lists.wikimedia.org
>>
https://lists.wikimedia.org/mailman/listinfo/wikitext-l>>
>
>
>
> --
> James Michael DuPont
> Member of Free Libre Open Source Software Kosova and Albania
>
flossk.org flossal.org>
> _______________________________________________
> Wikitext-l mailing list
>
Wikitext-l@lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikitext-l