BPFK Section: Formal Grammar: Difference between revisions

From Lojban
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:


For non-BPFK discussion of the formal grammar, see [[jbocre: Grammar|Grammar]].


Prototype of the self-consciously literary "secondary epic", designed
This section describes a proposed update to the Formal Grammar, defining the grammar in [[jbocre: PEG|PEG]] rather than [[jbocre: YACC|YACC]].  This section requires cleanup and a shepherd.


as a tribute to and an imitation of the Homeric poems. These earlier
=== Proposed grammar changes ===


epics became culturally central through oral dissemination and the
*[[jbocre: Internal grammar of tags|Internal grammar of tags]]
*[[jbocre: Move NAI to CAI|Move NAI to CAI]]


choice of individuals; whereas the Aeneid, written in order to justify
*[[Allow free modifiers anywhere|Allow free modifiers anywhere]]
*[[jbocre: Make sei more permissive|Make sei more permissive]]


a certain Imperial (if we can say this without the cultural baggage of
*Take away the official status of the [[jbocre: YACC|YACC]] grammar, and instead make an official grammar in [[jbocre: PEG|PEG]]
*[http://groups.google.com/group/lojban/browse_thread/thread/f1ddd5ff0eff69ad onnectives + PU issues]


the Twentieth Century--) viewpoint, was quickly taken up by the ruling
=== Issues ===


elite and became a school textbook even in Vergil's own lifetime.
* CLL 9.9, example 9.8: ''mi bai ke ge klama le zarci gi cadzu le bisli''. Camxes' PEG sees this like ''mi bai ku ke ge klama le zarci gi cadzu le bisli''. There doesn't appear to be a way to fill the tag in the gek-sentence production. Jbofihe and the official parser both get this right. Also relevant is example 18.15 from CLL 14.18: ''mi pu ge klama le zarci gi tervecnu lo cidja''. Jbofihe and the official parser both fail on this. Camxes sees it as ''mi pu ku ge klama le zarci gi tervecnu lo cidja''. Is this what is intended?
** Good catch. I think what camxes does is the Right Thing™, and that the unreachable tag should just be eliminated from the grammar. mi'e [[User:xorxes|xorxes]]
 
*[https://groups.google.com/group/lojban/tree/browse_frm/month/2007-01/185f36ddbf029663?hl=en&rnum=31&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2007-01%3Fhl%3Den%26#doc_6828412041702b6a egular suffixing rules and regular rules for creating lujvo.]]
* [https://groups.google.com/group/lojban/tree/browse_frm/month/2008-11/9fe8b6e82b3aa8b5?rnum=151&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2008-11%3F#doc_59b0c460473b4130 ore formal grammar stuffs]]
 
* [https://groups.google.com/group/lojban/tree/browse_frm/month/2008-11/9b23e1824698f78e?rnum=171&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2008-11%3F#doc_c6b6df439debb5ca ore formal issues (re: tosmabru check)]]
* [http://groups.google.com/group/lojban/tree/browse_frm/month/2008-05/782cb9b82e7524f2?rnum=21&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2008-05%3F#doc_3a097aaca47211a1 larity of assertion is necessary.]
 
* [http://groups.google.com/group/lojban/tree/browse_frm/month/2008-06/14b4b356082d11a3?rnum=11&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2008-06%3F#doc_723ca0b890e3d04f nteraction of SE, NA, and JA.]
* [http://groups.google.com/group/lojban/browse_thread/thread/ad25c54c578c03fa  proposal about cmevla] and [http://groups.google.com/group/lojban/browse_thread/thread/bc05cffacd38fc45 elma'o LA].
 
* [http://groups.google.com/group/lojban/browse_thread/thread/04b2157a4a2f4ca2  very old discussion about] [http://groups.google.com/group/lojban/browse_thread/thread/bf1e9c176c296206 efault][https://groups.google.com/group/lojban/tree/browse_frm/month/2005-01/dcfc0e664ca0518b?rnum=141&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2005-01%3F#doc_dcfc0e664ca0518b uantifiers]][https://groups.google.com/group/lojban/tree/browse_frm/month/2005-04/221ca085617b5096?rnum=31&_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2005-04%3F#doc_37f5e7fe861f3f5e or gadri]].
* [http://groups.google.com/group/lojban/browse_thread/thread/880bad057758b750 lah about sumti raising (you can probably ignore this).]
 
* [http://groups.google.com/group/lojban/browse_thread/thread/4e2858a625897f45  cu-like cmavo for terminators in general.]
* [http://groups.google.com/group/lojban/browse_thread/thread/a1a7eb7236084fd4 hy x1 to the left?]
 
* [http://groups.google.com/group/lojban/browse_frm/thread/8465f7b219e442fb an we drop lerfu+namcu strings]?  At least, can we do that if we drop lots of mekso crap too?  See that thread and the relevant bits of [[jbocre: zasni gerna cenba vreji|zasni gerna cenba vreji]].
* The grammar has a difference between “operand” and “number” that probably isn't intentional; because of this, constructs like “mo'e zo'e” cannot be used where other numbers are allowed.

Revision as of 16:44, 4 November 2013

For non-BPFK discussion of the formal grammar, see Grammar.

This section describes a proposed update to the Formal Grammar, defining the grammar in PEG rather than YACC. This section requires cleanup and a shepherd.

Proposed grammar changes

Issues

  • CLL 9.9, example 9.8: mi bai ke ge klama le zarci gi cadzu le bisli. Camxes' PEG sees this like mi bai ku ke ge klama le zarci gi cadzu le bisli. There doesn't appear to be a way to fill the tag in the gek-sentence production. Jbofihe and the official parser both get this right. Also relevant is example 18.15 from CLL 14.18: mi pu ge klama le zarci gi tervecnu lo cidja. Jbofihe and the official parser both fail on this. Camxes sees it as mi pu ku ge klama le zarci gi tervecnu lo cidja. Is this what is intended?
    • Good catch. I think what camxes does is the Right Thing™, and that the unreachable tag should just be eliminated from the grammar. mi'e xorxes
  • an we drop lerfu+namcu strings? At least, can we do that if we drop lots of mekso crap too? See that thread and the relevant bits of zasni gerna cenba vreji.
  • The grammar has a difference between “operand” and “number” that probably isn't intentional; because of this, constructs like “mo'e zo'e” cannot be used where other numbers are allowed.