machine grammar slots for elidable terminators: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Gleki moved page jbocre: Machine grammar slots for elidable terminators to Machine grammar slots for elidable terminators without leaving a redirect: Text replace - "jbocre: M" to "M")
m (Conversion script moved page Machine grammar slots for elidable terminators to machine grammar slots for elidable terminators: Converting page titles to lowercase)
 
(3 intermediate revisions by one other user not shown)
Line 17: Line 17:


* [[gap_450]]
* [[gap_450]]
* [[jbocre: MEX_gap_452]]
* [[MEX_gap_452]]


* [[jbocre: KEI_gap_453]]
* [[KEI_gap_453]]
* [[jbocre: TUhU_gap_454]]
* [[TUhU_gap_454]]


* [[jbocre: VAU_gap_456]]
* [[VAU_gap_456]]
* [[jbocre: FEhU_gap_458]]
* [[FEhU_gap_458]]


* [[jbocre: NUhU_gap_460]]
* [[NUhU_gap_460]]
* [[BOI_gap_461]]
* [[BOI_gap_461]]


* [[jbocre: LUhU_gap_463]]
* [[LUhU_gap_463]]
* [[jbocre: GEhU_gap_464]]
* [[GEhU_gap_464]]


* [[jbocre: MEhU_gap_465]]
* [[MEhU_gap_465]]
* [[jbocre: KEhE_gap_466]]
* [[KEhE_gap_466]]


* [[BEhO_gap_467]]
* [[BEhO_gap_467]]
* [[jbocre: KUhO_gap_469]]
* [[KUhO_gap_469]]


* [[jbocre: right_bracket_gap_471]]
* [[right_bracket_gap_471]]
* [[jbocre: LOhO_gap_472]]
* [[LOhO_gap_472]]


* [[jbocre: TEhU_gap_473]]
* [[TEhU_gap_473]]


Originally [[gap_450]] was the only kind of gap, which is why it isn't called KU_gap_450.
Originally [[gap_450]] was the only kind of gap, which is why it isn't called KU_gap_450.
Line 50: Line 50:
== name_of_rule : [[terminal symbol erminal_symbol]] | [[error|error]] ==
== name_of_rule : [[terminal symbol erminal_symbol]] | [[error|error]] ==


* [[jbocre: DOhU_gap_457]] - This makes kind of sense, because DOhU is the terminator of a vocative, which can always be followed by additional vocatives.
* [[DOhU_gap_457]] - This makes kind of sense, because DOhU is the terminator of a vocative, which can always be followed by additional vocatives.
* [[jbocre: SEhU_gap_459]] - A comment in the grammar says, "a free modifier on a discursive should be somewhere within the discursive."
* [[SEhU_gap_459]] - A comment in the grammar says, "a free modifier on a discursive should be somewhere within the discursive."


* [[sub_gap_462]] - This is the same as [[BOI_gap_461]], except with no possibility of free modifiers.  This is used when the BOI is itself part of a free modifier, specifically a MAI free modifier.
* [[sub_gap_462]] - This is the same as [[BOI_gap_461]], except with no possibility of free modifiers.  This is used when the BOI is itself part of a free modifier, specifically a MAI free modifier.
* [[jbocre: TOI_gap_468]] - A parenthesis is another kind of free modifier, and as such, we already know that it can be followed by another one.
* [[TOI_gap_468]] - A parenthesis is another kind of free modifier, and as such, we already know that it can be followed by another one.


* [[jbocre: right_br_no_free_474]] - This is a VEhO that terminates a subscript, which is itself a free modifier.
* [[right_br_no_free_474]] - This is a VEhO that terminates a subscript, which is itself a free modifier.


Another kind of "gap" rules are not for terminators, and implement
Another kind of "gap" rules are not for terminators, and implement
Line 66: Line 66:
== name_of_rule : [[terminal symbol erminal_symbol]] | [[terminal symbol erminal_symbol]] [[free_modifier_32]] ==
== name_of_rule : [[terminal symbol erminal_symbol]] | [[terminal symbol erminal_symbol]] [[free_modifier_32]] ==


* [[front_gap_451]] (for [[jbocre: CU|CU]])
* [[front_gap_451]] (for [[CU|CU]])


This rule is called "gap" for historical reasons only.
This rule is called "gap" for historical reasons only.

Latest revision as of 08:24, 30 June 2014

These rules all have the string "gap" in their names. Most of them have this

general form:

name_of_rule : terminal symbol erminal_symbol | terminal symbol erminal_symbol free_modifier_32 error

In plain language: the containing phrase of an elidable terminator

contains either the elidable terminator itself, optionally followed by

one or more free modifiers, or else nothing at all (because it is

elided).

Rules that follow this pattern:

Originally gap_450 was the only kind of gap, which is why it isn't called KU_gap_450.

Some rules don't allow free modifiers. In other words, they're on this

form:

name_of_rule : terminal symbol erminal_symbol | error

  • DOhU_gap_457 - This makes kind of sense, because DOhU is the terminator of a vocative, which can always be followed by additional vocatives.
  • SEhU_gap_459 - A comment in the grammar says, "a free modifier on a discursive should be somewhere within the discursive."
  • sub_gap_462 - This is the same as BOI_gap_461, except with no possibility of free modifiers. This is used when the BOI is itself part of a free modifier, specifically a MAI free modifier.
  • TOI_gap_468 - A parenthesis is another kind of free modifier, and as such, we already know that it can be followed by another one.

Another kind of "gap" rules are not for terminators, and implement

elision by some other means than YACC's "error" rule. In other words,

they're of this form:

name_of_rule : terminal symbol erminal_symbol | terminal symbol erminal_symbol free_modifier_32

This rule is called "gap" for historical reasons only.