Browse Source

a few example changes

Getty Ritter 1 year ago
parent
commit
f0b5ccc6bb
2 changed files with 3 additions and 3 deletions
  1. 1 1
      examples/halfling_ipa.matzo
  2. 2 2
      examples/vexed.matzo

+ 1 - 1
examples/halfling_ipa.matzo

@@ -3,7 +3,7 @@ fn flatten[t] => tuple/fold[fn {[x, xs] => x xs }, "", t];
 
 fn word[w] => flatten[tuple/map[orthography, w]];
 wd := tuple/concat[<begin, middle, end>];
-middle := syll | tuple/concat[<syll, syll>] | tuple/concat[<syll, syll, syll>] | tuple/concat[<syll, syll, syll, syll>];
+middle := tuple/concat[tuple/rep[1..4, syll]];
 syll := <cons, vowel>;
 end := <cons, vowel, final>
      | 2: <cons, ("eː" | "a"), final>

+ 2 - 2
examples/vexed.matzo

@@ -12,5 +12,5 @@ fix name := "Arjun" | "Yuuma" | "Darcy" | "Mia" | "Chiaki" | "Izzi" | "Azra" | "
 fix pet ::= unicorn raven sparrow scorpion coyote eagle owl lizard zebra duck kitten;
 mood ::= vexed indignant impassioned wistful astute corteous;
 
-puts name " traveled with her pet " pet ". "
-     name " was never " mood " for the " pet " was always too " mood ".";
+puts `,name traveled with her pet ,pet.`;
+puts `,name was never ,mood for the ,pet was always too ,mood.`;