Changeset 22193 in project


Ignore:
Timestamp:
01/03/11 06:43:32 (9 years ago)
Author:
Alan Post
Message:

jbogenturfa'i: clean up morphology interface.

Add Y as a cmavo class.

Make sure the morphology public rule uses the header productions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/jbogenturfahi/trunk/rafske_gumgau.peg

    r21969 r22193  
    1 ; Ignore the -morph bits here if searching for these non-terminals.
    2 ;; out of date: BU is before spaces in front so we can catch Y + BU before anything else.
    3 morphology <- `initial-spaces?
    4               ( ( CMAVO
    5                 / BRIVLA
    6                 / CMENE
    7                 / non-lojban-word )
    8               `spaces? )*
     1morphology <- `spaces? ( any-word `spaces? )* `EOF
     2;morphology <- ( BU-clause / `spaces )* ( any-word `spaces? )* `EOF
    93
    10 ; morphology <- (BU-clause-morph / spaces-morph)* (any-word-morph spaces-morph?)* EOF-morph
     4any-word <- LOJBAN-WORD
     5          / non-lojban-word
    116
    12 ;         any single lexable Lojban words
    13 ;any-word <- CMAVO / BRIVLA / CMENE / non-lojban-word
     7LOJBAN-WORD <- CMENE
     8             / CMAVO
     9             / BRIVLA
    1410
    1511CMENE  <- cmene
    16 BRIVLA <- gismu
    17         / lujvo
    18         / fuhivla
     12BRIVLA <- brivla
    1913
    20 ;CMAVO <- !A !BAI !BAhE !BE !BEI !BEhO !BIhE !BIhI !BO !BOI !BU !BY !CAhA !CAI !CEI !CEhE !CO !COI !CU !CUhE !DAhO !DOI !DOhU !FA !FAhA !FAhO !FEhE !FEhU !FIhO !FOI !FUhA !FUhE !FUhO !GA !GAhO !GEhU !GI !GIhA !GOI !GOhA !GUhA !I !JA !JAI !JOhI !JOI !KE !KEhE !KEI !KI !KOhA !KU !KUhE !KUhO !LA !LAU !LAhE !LE !LEhU !LI !LIhU !LOhO !LOhU !LU !LUhU !MAhO !MAI !ME !MEhU !MOhE !MOhI !MOI !NA !NAI !NAhE !NAhU !NIhE !NIhO !NOI !NU !NUhA !NUhI !NUhU !PA !PEhE !PEhO !PU !RAhO !ROI !SA !SE !SEI !SEhU !SI !SOI !SU !TAhE !TEhU !TEI !TO !TOI !TUhE !TUhU !UI !VA !VAU !VEI !VEhO !VUhU !VEhA !VIhA !VUhO !XI !ZAhO !ZEhA !ZEI !ZI !ZIhE !ZO !ZOI !ZOhU cmavo
    2114CMAVO <- A
    2215       / BAI
     
    132125       / VUhO
    133126       / XI
     127       / Y
    134128       / ZAhO
    135129       / ZEhA
Note: See TracChangeset for help on using the changeset viewer.