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

Re: [lojban] Re: My parser, SI, SA, and ZOI



On Fri, May 07, 2004 at 08:01:35AM -0700, Jorge Llamb?as wrote:
> 
> --- Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
> > On Thu, May 06, 2004 at 06:20:33PM -0400, Nora LeChevalier wrote:
> > > Also, from a making-sense point of view, I prefer "si" after the
> > > closing delimiter to delete the entire zoi phrase (back to and
> > > including the zoi).  To say that "The first SI after the close of
> > > a ZOI clause erases the closing delimiter..." would make one think
> > > the next thing said is part of the inside of the ZOI; so you would
> > > never be able to get back to the ZOI.  
> > 
> > Yes, I understand your point completely.  I'd love to hear other
> > people chime in on this point.  The problem is that SI is only
> > supposed to erase one previous word, so we're moving in to the realm
> > of "not justifiable under current standards".
> 
> I tend to agree with Nora. "Word" is not a very clearly defined word
> at this level anyway. Consider:
> 
>    {zoi gy Is this one word? gy bu}

Fails in my parser.

> {bu} is suposed to turn the previous word into a lerfu.

Which it can't do, because all the previous words are otherwise engaged:
zoi happens before bu.

>    {zoi gy one word? gy zei zoi gy One word? gy}
> 
> {zei} is supposed to make two words into a lujvo.

This fails in my parser for the same reason.

> So, if {bu} and {zei} take {zoi gy ... gy} to be a single word, 

They don't, in my parser or the official one.

They seem to in jbofihe; I have no idea why.

> {si} could just as well do the same thing.
> 
> What does {da zo si si} do?

It *should* result in just 'da', because zo is defined as turning itself
and the next argument into a single word.  zoi is *not* so defined.

Despite this, jbofihe chokes on that example.  My parser has code
specifically for it, but it wasn't actually working properly (it was
parsing that example, but not correctly).  It now works; thanks.

Partial parse tree:  sumti6=( KOhA=( da zo si si ) free=() )

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/  ***  I'm a *male* Robin.
"Many philosophical problems are caused by such things as the simple
inability to shut up." -- David Stove, liberally paraphrased.
http://www.lojban.org/  ***  loi pimlu na srana .i ti rokci morsi