diff options
author | elioat <elioat@tilde.institute> | 2023-05-03 21:08:54 -0400 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2023-05-03 21:08:54 -0400 |
commit | c4af194999cf6f58999a3e12bc87a54cfadfa054 (patch) | |
tree | c48b2c6866ad5eaa4dbcc9e1f2c8c674d0653072 | |
parent | f79279fb25afa9a571f8e2d53cb49cf44b3e6ff0 (diff) | |
download | tour-c4af194999cf6f58999a3e12bc87a54cfadfa054.tar.gz |
*
-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] |