[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban] Re: left recursion changes



On Tue, Jun 24, 2008 at 5:21 PM, Robin Lee Powell
<rlpowell@digitalkingdom.org> wrote:
> You might want to look at whatever the Rats! guy did; his stuff also
> automatically deals with left-recursion, but I think maybe in a
> slightly more structured fashion?  He's pretty approachable, you
> might want to ask him.

This is the paper I followed to implement direct and indirect left
recursion support in my own peg grammar implementation:

http://www.vpri.org/pdf/packrat_TR-2007-002.pdf

I think Rats uses a method of grammar transformation iirc and doesn't
deal with indirect left recursion. It's been a while since I used it
though, so that might have been dealt with.

Chris
-- 
http://www.bluishcoder.co.nz


To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.