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

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



On Mon, May 10, 2004 at 10:47:30AM -0700, Jorge Llamb?as wrote:
> 
> --- Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
> > Unfortunately, this doesn't help with things like "zo broda zei
> > broda", but I'm inclined to say that that's illegal because ZO acts
> > first, leaving "<zo-quote> zei broda", and a quote is not a single
> > word.
> 
> It is clear that {zo broda zei broda} is illegal with the current
> grammar, though not exactly for the reason you say. 

Of course.  Again, though, I'm not aiming for bug-for-bug compatibility
with the current grammar.

> {zei} grabs the previous _token_ 

In the YACC grammar, yes, but that's not the word's definition:

 zei       ZEI      lujvo glue
                    joins preceding and following words into a lujvo

> and binds it to the next to deliver a
> brivla, so you end up with ZO BRIVLA which is illegal. Only ZO
> any_word_698 is valid. {zo broda si brode} fails for the same reason.
> {si} erases any_word_698 leaving ZO BRIVLA, which is illegal. I think
> that if you fix one you should fix the other as well.

OK, so what would you say that "zo broda zei broda" is, then?  I
certainly don't know.  If I had to pick one, I would say that it's
"(zo broda) zei broda"; i.e. "'broda' type of broda".

> {da zei de bu} is legal: first {da zei de} delivers BRIVLA, and then
> {BRIVLA BU} delivers BY.

Good point, but not terribly helpful for the ZO + ZEI case that I can
see.

> > Opinions on that issue welcome, but it seems pretty clear that ZEI
> > only acts on single words, and quotes are not single words.
> 
> ZEI acts on single tokens, doesn't it? 

If one is using the concept of tokens, I suppose it does, yes.

-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