Talk:Tiki forum archive/Forum 5/8905
Source: 2013 Tiki forum 5, thread #8905. Original authors, UTC times, post IDs, and reply-parent IDs are preserved. This is an archive, not an active article discussion.
PEG-grammar/camxes and selbri negation
PEG-grammar/camxes and selbri negation
florolf · 2009-12-05 11:32 UTC · Tiki post #8905
The CLL states: > Negations made with "na'e" or "na'eke" also > include within their scope any sumti attached to the brivla or tanru > with "be" or "bei". Such attached sumti are > considered part of the brivla or tanru
Therefore, a sentence like {mi na'e klama be fu lo birka lo zarci} should be grouped someway similar to {mi (na'e (klama be fu lo birka)) lo zarci}. camxes however outputs the follwing parse tree: > sentence > |- CMAVO > | KOhA: mi > |- bridiTail3 > |- tanruUnit1 > | |- tanruUnit2 > | | |- CMAVO > | | | NAhE: na'e > | | |- BRIVLA > | | gismu: klama > | |- linkargs1 > | |- CMAVO > | | BE: be > | |- term1 > | |- CMAVO > | | FA: fu > | |- sumti6 > | |- CMAVO > | | LE: lo > | |- BRIVLA > | gismu: birka > |- sumti6 > |- CMAVO > | LE: lo > |- BRIVLA > gismu: zarci
Adding a {ke} ({mi na'e ke klama be fu lo birka lo zarci}) yields: > sentence > |- CMAVO > | KOhA: mi > |- bridiTail3 > |- tanruUnit2 > | |- CMAVO > | | NAhE: na'e > | |- tanruUnit2 > | |- CMAVO > | | KE: ke > | |- tanruUnit1 > | |- BRIVLA > | | gismu: klama > | |- linkargs1 > | |- CMAVO > | | BE: be > | |- term1 > | |- CMAVO > | | FA: fu > | |- sumti6 > | |- CMAVO > | | LE: lo > | |- BRIVLA > | gismu: birka > |- sumti6 > |- CMAVO > | LE: lo > |- BRIVLA > gismu: zarci Which seems to be more accurate with respect to to what the CLL says.
While this probably isn't a bug per se, it might still hint at some faulty handling of precedence.
Maybe somebody who is more familiar with the PEG grammar can comment on this?
mu'o mi'e florolf
PS: In case this turns out to be significant, it was xalbo (Adam) who pointed this out in the first place.
To unsubscribe from this list, send mail to [email protected]
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
PEG-grammar/camxes and selbri negation
Jorge Llambías <[email protected]> · 2009-12-05 11:32 UTC · Tiki post #8906 · reply to Tiki post #8905
<[email protected]> wrote: > When discussing selbri negation on IRC, we noticed the following: > > The CLL states: >> Negations made with "na'e" or "na'eke" also >> include within their scope any sumti attached to the brivla or tanru >> with "be" or "bei". Such attached sumti are >> considered part of the brivla or tanru
That's incorrect, at least so far as the formal grammar in Chapter 21 has precedence over the informal description (the PEG just follows that). NAhE (and SE for that matter) bind closer than linkargs. The KE part is correct.
> Therefore, a sentence like {mi na'e klama be fu lo birka lo zarci} > should be grouped someway similar to {mi (na'e (klama be fu lo birka)) > lo zarci}.
Consider "lo zarci cu se na'e klama be mi". Which place of "klama" does "mi" fill?
mu'o mi'e xorxes
To unsubscribe from this list, send mail to [email protected]
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
