diff options
-rw-r--r-- | lil/giblang.lil | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lil/giblang.lil b/lil/giblang.lil index b2569f9..b92f20b 100644 --- a/lil/giblang.lil +++ b/lil/giblang.lil @@ -3,5 +3,18 @@ vow: ("a", "e", "i", "o", "u", "y", "ee", "ai", "ae", "au") sys.seed:sys.ms -syl:random[vow 1],random[cons 1] # 1 syllable -rand:random[(1,2,3) 1] # random number between 1 and 3, inclusive +on syl do + "" fuse random[vow 1],random[cons 1] +end + +on apply func do + func[] +end + +x:apply[syl] +show[x] + +wrd:(syl[],syl[],syl[]) # I'd like to support a random number of syllables within a given range +word:"" fuse wrd + +show[word] |