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

[lojban] Re: CFG prize challenge question



On Sun, Feb 8, 2009 at 15:36, Chris Capel <pdf23ds@gmail.com> wrote:
> Not done yet!
>
> canAppend(p, pID):
> Let lastEl be the last element of the list p.
> If lastEl is a start token, canAppend is true.
> Let p_1 be p without its last element.
> If lastEl is a terminator of the form <Trm tid el>, canAppend is true iff:
> -  pID is a member of mapPhPh(tid)
> -  and either el is false or canAppend(p_1, pID) is true.

This should really be
-  either el is false, or
-  pID is a member of mapPhPh(tid) and canAppend(p_1, pID) is true.

Chris Capel
-- 
"What is it like to be a bat? What is it like to bat a bee? What is it
like to be a bee being batted? What is it like to be a batted bee?"
-- The Mind's I (Hofstadter, Dennet)


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.