From lojbab@lojban.org Fri Feb 07 20:57:15 2003 Return-Path: X-Sender: lojbab@lojban.org X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-8_2_3_4); 8 Feb 2003 04:57:14 -0000 Received: (qmail 61601 invoked from network); 8 Feb 2003 04:57:14 -0000 Received: from unknown (66.218.66.217) by m6.grp.scd.yahoo.com with QMQP; 8 Feb 2003 04:57:14 -0000 Received: from unknown (HELO lakemtao04.cox.net) (68.1.17.241) by mta2.grp.scd.yahoo.com with SMTP; 8 Feb 2003 04:57:14 -0000 Received: from lojban.lojban.org ([68.100.206.153]) by lakemtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030208045713.JWNE22825.lakemtao04.cox.net@lojban.lojban.org> for ; Fri, 7 Feb 2003 23:57:13 -0500 Message-Id: <5.2.0.9.0.20030207233754.036a0b90@pop.east.cox.net> X-Sender: rlechevalier@pop.east.cox.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 07 Feb 2003 23:45:28 -0500 To: lojban@yahoogroups.com Subject: Re: [lojban] Re: Grammatical Examples in the CLL (was Re: Re: Ungrammatical examples in CLL) In-Reply-To: <20030207190351.GF16074@digitalkingdom.org> References: <20030207021156.GA85399@allusion.net> <5.2.0.9.0.20030202020915.032e2b60@pop.east.cox.net> <20030202153300.GA65000@allusion.net> <20030203183258.GA17969@digitalkingdom.org> <20030207021156.GA85399@allusion.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed From: Robert LeChevalier X-Yahoo-Group-Post: member; u=1120595 X-Yahoo-Profile: lojbab X-Yahoo-Message-Num: 18521 At 11:03 AM 2/7/03 -0800, Robin Lee Powell wrote: > > So you can't put a prenex in there after a .ifoo connective. > > > > Yes this sucks. > > > > The older grammar (which the official parser uses) supports this. I > > have no idea why it was removed. > >What did the older rules look like? Here is the old grammar and Techfix 45 (which incidentally is the format I'm hoping that people will use to propose changes to the baseline). >CHANGE 45 >CURRENT LANGUAGE: >Grammatically, I and ijek are treated identically, although in the >semantics, I constitutes a stronger boundary. >Prenexes can be attached only to sentences or to TUhE...TUhU groups, although >logically a prenex can persist across several sentences connected by >ijeks. >PROPOSED CHANGE: >Treat I as a higher-priority break than ijek (which is higher than >I+BO or ijek+BO; no distinction is made between I+BO and ijek+BO). >Shift all the sentence fragments (the forms of utterance_20 which are not >sentence_40) to a higher level; they can only be connected by I, not by any >lower-level form. >Attach prenexes to the new level "statement_11"; statements contain ijeks >and I+BOs, but not bare Is. >RATIONALE: >1) It has always been a rule that I and ijek have different semantic >implications: I is a pure separator, whereas ijek connects as well as >separating. In particular, logical variables persist across ijek >boundaries always, but (by default) not across I boundaries. This change >makes the grammar reflect the semantics. >2) Logically connecting sentence fragments never did make very much sense, >but was allowed because of the lack of distinction between I and ijek. >paragraphs_4 : utt_string_A_10 > | utt_string_A_10 para_mark_410 paragraphs_4 > ; > >utt_string_A_10 : utt_string_B_11 > | utt_string_A_10 I_819 utt_string_B_11 > | utt_string_A_10 I_819 POhO_gap_455 > /* this last fixes an erroneous start to a sentence, > and permits incomplete JOIK_JEK after I, as well > in answer to questions on those connectives */ > ; > >utt_string_B_11 : utt_string_C_12 > | utt_string_C_12 I_BO_811 utt_string_B_11 > | utt_string_C_12 I_BO_811 POhO_gap_455 > /* this last fixes an erroneous start to a sentence, > and permits incomplete JOIK_JEK after I, as well > in answer to questions on those connectives */ > ; > >utt_string_C_12 : utterance_20 > | TUhE_610 paragraphs_4 TUhU_gap_454 > | header_terms_30 TUhE_610 paragraphs_4 > TUhU_gap_454 > | PU_mod_491 TUhE_610 paragraphs_4 TUhU_gap_454 > ; I_819 included the following indirectly: >I_root_956 : I_545 > | I_545 JOIK_JEK_957 > ; > > >JOIK_JEK_957 : JOIK_806 > | JEK_805 > ; > /* no freemod in this version; cf. JOIK_JEK_422 */ > /* this reference to a version of JOIK and JEK > which already have the lexer_lexemes attached > prevents shift/reduce errors. The problem is > resolved in a hard-coded parser implementation > which builds lexer_K, before lexer_S, before > lexer_E and lexer_F. */ > > All that needs to be done to fix it is to make the part after the > > connective of the statement1 and statement2 things use a "statement" > > rule instead of a "statement2" rule, and to decide what kind of scope > > the outer prenex has. > >That last part might take some work. Especially since it effectively undoes a grammar change. It seems clear that Cowan intended it this way, and he apparently convinced me and others at the time. lojbab -- lojbab lojbab@lojban.org Bob LeChevalier, President, The Logical Language Group, Inc. 2904 Beau Lane, Fairfax VA 22031-1303 USA 703-385-0273 Artificial language Loglan/Lojban: http://www.lojban.org