blob: 3dee99b2b547fb16d58ec61b64c63743ab839998 (
plain)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
you_cool = false
_ = if cool
if you_cool
one
else if eatdic
yeah
else
_ = two
three
else
no
_ = if cool then no
_ = if cool then no else yes
if cool then wow cool else
noso cool
if working
_ = if cool then if cool then okay else what else nah
if yeah then no day elseif cool me then okay ya else u way
if yeah then no dad else if cool you then okay bah else p way
if (->)() then what ever
if nil then flip me else
it be,rad
if things great then no way elseif okay sure
what here
if things then no chance
elseif okay
what now
if things
yes man
elseif okay person then hi there else hmm sure
if lets go
print "greetings"
elseif "just us"
print "will smith" else show 5555555
--
if something = 10
print something
else
print "else"
hello = if something = 10
print something
else
print "else"
hello = 5 + if something = 10
print something
---
z = false
_ = if false
one
elseif x = true
two
elseif z = true
three
else
four
out = if false
one
elseif x = true
two
elseif z = true
three
else
four
kzy = ->
if something = true
1
elseif another = false
2
---
unless true
print "cool!"
unless true and false
print "cool!"
unless false then print "cool!"
unless false then print "cool!" else print "no way!"
unless nil
print "hello"
else
print "world"
--
x = unless true
print "cool!"
x = unless true and false
print "cool!"
y = unless false then print "cool!"
y = unless false then print "cool!" else print "no way!"
z = unless nil
print "hello"
else
print "world"
print unless true
print "cool!"
print unless true and false
print "cool!"
print unless false then print "cool!"
print unless false then print "cool!" else print "no way!"
print unless nil
print "hello"
else
print "world"
--
print "hello" unless value
dddd = {1,2,3} unless value
--
do
j = 100
unless j = hi!
error "not j!"
----------------
a = 12
a,c,b = "cool" if something
---
j = if 1
if 2
3
else 6
m = if 1
if 2
3
else 6
nil
|