halfling.matzo 488 B

123456789101112131415
  1. word := begin rep.<1..4, syll> end;
  2. syll := cons vowel;
  3. end := cons vowel final | cons 'é' final | cons 'a' final | 'r' | 'n';
  4. begin := vowel | initcons vowel;
  5. cons ::= b c d d ch d f g g gn h j l l l lh m m m n n n nh
  6. p qu r s s s ss ss ss sc sc t t t tg tj tz tz tr rt v z;
  7. initcons ::= b c d ch d f g gn h j l m n p qu r s sc t v;
  8. vowel := 4: commonvowel | uncommonvowel;
  9. commonvowel ::= a i u e é o;
  10. uncommonvowel ::= à è ó ò í ú;
  11. final := 's' | 6: '';
  12. puts word;