about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lil/giblang.lil17
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]
lt;vc@akkartik.com> 2019-05-18 00:45:12 -0700 switch to new syntax for segment headers in C++' href='/akkartik/mu/commit/subx/034compute_segment_address.cc?h=main&id=83c67014034bbf9072d7e4555b0e51e815a95756'>83c67014 ^
4a943d4e ^






dd7077f7 ^
4a943d4e ^


1bbbf14f ^
73aa4d14 ^

5c368edc ^
1bbbf14f ^



c442a5ad ^
1bbbf14f ^


83c67014 ^


4e8f5fa4 ^
87d5bdb9 ^
a6517ed8 ^

4a99a6e0 ^
1bbbf14f ^

a6517ed8 ^










a6061b9f ^

a6517ed8 ^

8998908e ^
a6061b9f ^


3c46d5a2 ^

a6061b9f ^




8998908e ^













1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86