Aha. No newlines allowed in GraNoLa/M programs, it seems.
Cat's Eye Technologies
8 years ago
168 | 168 | | a=^1hello(b=^uwaming(end() hello(world()))) |
169 | 169 | = {a,'1hello',[{b,uwaming,[{'end',nil,[]},{hello,nil,[{world,nil,[]}]}]}]} |
170 | 170 | |
171 | Doesn't parse. Why not? Must find out someday. | |
172 | ||
173 | | a=^sajalom(b=^#d(c=^bimodang(^a)) | |
174 | | d(e=^#sakura(f=^uwaming(g=^ubewic())))) | |
175 | = ??? | |
171 | | a=^sajalom(b=^#d(c=^bimodang(^a))d(e=^#sakura(f=^uwaming(g=^ubewic())))) | |
172 | = {a,sajalom,[{b,'#d',[{c,bimodang,[a]}]},{d,nil,[{e,'#sakura',[{f,uwaming,[{g,ubewic,[]}]}]}]}]} | |
176 | 173 | |
177 | 174 | | a=^sajalom(b=^bejadoz(c=^soduv(^a d()))) |
178 | 175 | = {a,sajalom,[{b,bejadoz,[{c,soduv,[a,{d,nil,[]}]}]}]} |
191 | 188 | | a=^0hello(b=^@hello(c=^taug(d=^uwaming(^a)))) |
192 | 189 | = embed=stack(hello())() embed=hello(hello())() embed=hello(he |
193 | 190 | |
191 | | a=^sajalom(b=^#d(c=^bimodang(^a))d(e=^#sakura(f=^uwaming(g=^ubewic())))) | |
192 | = ^sakura ^sakura ^sakura ^sakura ^sakura ^sakura ^sakura ^sak | |
193 | ||
194 | 194 | -> Tests for functionality "Interpret GraNoLa/M Program" |
195 | 195 | |
196 | 196 | This one doesn't loop infinitely. Note, there is a space after `world())`. |