The Logical Language
BPFK Section: Formal Grammar
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
- Internal grammar of tags
- Move NAI to CAI
- Allow free modifiers anywhere
- Make sei more permissive
- Take away the official status of the YACC grammar, and instead make an official grammar in PEG
- Connectives + PU issues
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
- Regular suffixing rules and regular rules for creating lujvo.
- more formal grammar stuffs
- more formal issues (re: tosmabru check)
- Clarity of assertion is necessary.
- Interaction of SE, NA, and JA.
- a proposal about cmevla
and selma'o LA
.
- A very old discussion about
default
quantifiers
for gadri
.
- Blah about sumti raising (you can probably ignore this).
- A cu-like cmavo for terminators in general.
- Why x1 to the left?
- can 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.
Created by xorxes. Last Modification: Friday 15 of July, 2011 22:33:39 GMT by arj.
