mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Text litteral: strip leading and closing space if present
This commit is contained in:
parent
5dd971ff8f
commit
d42b900388
91 changed files with 428 additions and 424 deletions
|
|
@ -25,7 +25,7 @@ return Runtime(AutoCall, Event) {
|
||||||
for _, e in ipairs(self.list) do
|
for _, e in ipairs(self.list) do
|
||||||
table.insert(t, ("%s%s"):format(e[2]:format(...), e[1]:format(...)))
|
table.insert(t, ("%s%s"):format(e[2]:format(...), e[1]:format(...)))
|
||||||
end
|
end
|
||||||
return ("| %s|"):format(table.concat(t, " "))
|
return ("| %s |"):format(table.concat(t, " "))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Text comes from TextInterpolation which already evals the contents
|
-- Text comes from TextInterpolation which already evals the contents
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ local TextInterpolation = ast.abstract.Node {
|
||||||
table.insert(l, ("{%s}"):format(e:format(...)))
|
table.insert(l, ("{%s}"):format(e:format(...)))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return ("| %s|"):format(table.concat(l))
|
return ("| %s |"):format(table.concat(l))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
_eval = function(self, state)
|
_eval = function(self, state)
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ return string {
|
||||||
source:increment(-1)
|
source:increment(-1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- remove terminal space
|
||||||
|
local last = interpolation.list[#interpolation.list]
|
||||||
|
if ast.String:is(last) then last.string = last.string:gsub("%s$", "") end
|
||||||
|
|
||||||
return Translatable:new(interpolation):set_source(start_source), rem
|
return Translatable:new(interpolation):set_source(start_source), rem
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"-3" {}""|
|
| {}"" {}"-3" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"heh minus lol" {}""|
|
| {}"" {}"heh minus lol" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"generic minus" {}""|
|
| {}"" {}"generic minus" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"ye "|
|
> | {}"ye" |
|
||||||
=> | {}"ne "|
|
=> | {}"ne" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"ho "|
|
=> | {}"ho" |
|
||||||
> | {}"oh "|
|
> | {}"oh" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"plop"|
|
| {}"plop" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"ho "|
|
> | {}"ho" |
|
||||||
> | {}"neol "|
|
> | {}"neol" |
|
||||||
=> | {}"oh "|
|
=> | {}"oh" |
|
||||||
> | {}"neol "|
|
> | {}"neol" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"A"|
|
| {1:1}"A" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Suprise choice! "|
|
=> | {}"Suprise choice!" |
|
||||||
> | {}"Press " {}"JOIN" {}" to jump. "|
|
> | {}"Press " {}"JOIN" {}" to jump." |
|
||||||
> | {}"No "|
|
> | {}"No" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"a"|
|
| {1:1}"a" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Press " {}"SPLIT" {}" to jump. "|
|
=> | {}"Press " {}"SPLIT" {}" to jump." |
|
||||||
> | {}"No "|
|
> | {}"No" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Press " {1:1}"A" {}" to jump. "|
|
=> | {}"Press " {1:1}"A" {}" to jump." |
|
||||||
> | {}"No "|
|
> | {}"No" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Other "|
|
=> | {}"Other" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
| {1:1}"left"|
|
| {1:1}"left" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Use " {}" joystick" {}" to move. "|
|
=> | {}"Use " {}" joystick" {}" to move." |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ko"|
|
| {}"ko" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {1:42}"a "|
|
=> | {1:42}"a" |
|
||||||
> | {}"c "|
|
> | {}"c" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:42}"b"|
|
| {1:42}"b" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {1:42}"a "|
|
=> | {1:42}"a" |
|
||||||
> | {"k":"v"}"d "|
|
> | {"k":"v"}"d" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:42}"b"|
|
| {1:42}"b" |
|
||||||
| {"k":"v"}"e"|
|
| {"k":"v"}"e" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"f"|
|
| {}"f" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"ye "|
|
> | {}"ye" |
|
||||||
=> | {}"ne "|
|
=> | {}"ne" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,32 +1,32 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"a "|
|
=> | {}"a" |
|
||||||
> | {}"b "|
|
> | {}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"-> a"|
|
| {}"-> a" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"a "|
|
> | {}"a" |
|
||||||
=> | {}"b "|
|
=> | {}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"-> b"|
|
| {}"-> b" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"b "|
|
=> | {}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"-> b"|
|
| {}"-> b" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"a "|
|
> | {}"a" |
|
||||||
=> | {1:25}"b "|
|
=> | {1:25}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:25}"-> b"|
|
| {1:25}"-> b" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {1:3}"b "|
|
=> | {1:3}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:3}"-> b"|
|
| {1:3}"-> b" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {1:12}"a "|
|
=> | {1:12}"a" |
|
||||||
> | {1:3}"b "|
|
> | {1:3}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:12}"-> a"|
|
| {1:12}"-> a" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}" = 5"|
|
| {}"" {}"5" {}" = 5" |
|
||||||
| {}"" {}"8" {}" = 8"|
|
| {}"" {}"8" {}" = 8" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}" = 4"|
|
| {}"" {}"4" {}" = 4" |
|
||||||
| {}"" {}"7" {}" = 7"|
|
| {}"" {}"7" {}" = 7" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
| {}"ok bis"|
|
| {}"ok bis" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a " {}"b" {}" c"|
|
| {}"a " {}"b" {}" c" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a " {}"()" {}" c"|
|
| {}"a " {}"()" {}" c" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3]" {}""|
|
| {}"" {}"*[3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3, 52]" {}""|
|
| {}"" {}"*[3, 52]" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"type(\"kg\", 5)" {}""|
|
| {}"" {}"type(\"kg\", 5)" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"type(\"kg\", 12)" {}""|
|
| {}"" {}"type(\"kg\", 12)" {}"" |
|
||||||
--- error ---
|
--- error ---
|
||||||
[0m[31m[0m[31mtype check failure for weigh; 32 does not satisfy ($(x) type(x) == t)[0m
|
[0m[31m[0m[31mtype check failure for weigh; 32 does not satisfy ($(x) type(x) == t)[0m
|
||||||
↳ from [4mtest/tests/constrained variable assignement.ans:9:7[0m in assignment: [2mweigh = 32[0m[0m
|
↳ from [4mtest/tests/constrained variable assignement.ans:9:7[0m in assignment: [2mweigh = 32[0m[0m
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"type(\"kg\", 5)" {}""|
|
| {}"" {}"type(\"kg\", 5)" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"12" {}""|
|
| {}"" {}"12" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"\"Name: Darmanin\\\
|
| {}"" {}"\"Name: Darmanin\\\
|
||||||
Age: 38\"" {}""|
|
Age: 38\"" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,26 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"true = " {}"true" {}""|
|
| {}"true = " {}"true" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"true = " {}"true" {}""|
|
| {}"true = " {}"true" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"false = " {}"false" {}""|
|
| {}"false = " {}"false" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"true = " {}"true" {}""|
|
| {}"true = " {}"true" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"true = " {}"true" {}""|
|
| {}"true = " {}"true" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"b "|
|
=> | {}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"c"|
|
| {}"c" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"d "|
|
=> | {}"d" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"ok" {}""|
|
| {}"" {}"ok" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"o" {}"" {}"k" {}""|
|
| {}"" {}"o" {}"" {}"k" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"v=" {}"50" {}""|
|
| {}"v=" {}"50" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"50" {}""|
|
| {}"" {}"50" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"v2=" {}"ok" {}""|
|
| {}"v2=" {}"ok" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"25" {}" = " {}"25" {}""|
|
| {}"" {}"25" {}" = " {}"25" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}" = " {}"4" {}""|
|
| {}"" {}"4" {}" = " {}"4" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"14" {}" == 14"|
|
| {}"" {}"14" {}" == 14" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"32" {}" == 32"|
|
| {}"" {}"32" {}" == 32" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"49" {}" == 49"|
|
| {}"" {}"49" {}" == 49" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"local:"|
|
| {}"local:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"exported:"|
|
| {}"exported:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"x"|
|
| {}"x" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
--- error ---
|
--- error ---
|
||||||
[0m[31m[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 0a138a38-3faa-4478-10f6f-1a9de1e0a8e1[0m
|
[0m[31m[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 0a138a38-3faa-4478-10f6f-1a9de1e0a8e1[0m
|
||||||
↳ from [4mtest/tests/function scope wrong.ans:4:7[0m in identifier: [2mb[0m[0m
|
↳ from [4mtest/tests/function scope wrong.ans:4:7[0m in identifier: [2mb[0m[0m
|
||||||
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in text interpolation: [2m| a: {b}|[0m[0m
|
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in text interpolation: [2m| a: {b} |[0m[0m
|
||||||
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in translatable: [2m| a: {b}|[0m[0m
|
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in translatable: [2m| a: {b} |[0m[0m
|
||||||
↳ from [4m?[0m in block: [2m:a = ($() _)…[0m
|
↳ from [4m?[0m in block: [2m:a = ($() _)…[0m
|
||||||
--# saved #--
|
--# saved #--
|
||||||
{}
|
{}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a: " {}"5" {}""|
|
| {}"a: " {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,64 +1,64 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"new list each time:"|
|
| {}"new list each time:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"1" {}": " {}"*[1]" {}""|
|
| {}"before recursion " {}"1" {}": " {}"*[1]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"2" {}": " {}"*[2]" {}""|
|
| {}"before recursion " {}"2" {}": " {}"*[2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"3" {}": " {}"*[3]" {}""|
|
| {}"before recursion " {}"3" {}": " {}"*[3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"4" {}": " {}"*[4]" {}""|
|
| {}"before recursion " {}"4" {}": " {}"*[4]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"5" {}": " {}"*[5]" {}""|
|
| {}"before recursion " {}"5" {}": " {}"*[5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"4" {}": " {}"*[4]" {}""|
|
| {}"after recursion " {}"4" {}": " {}"*[4]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"3" {}": " {}"*[3]" {}""|
|
| {}"after recursion " {}"3" {}": " {}"*[3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"2" {}": " {}"*[2]" {}""|
|
| {}"after recursion " {}"2" {}": " {}"*[2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"1" {}": " {}"*[1]" {}""|
|
| {}"after recursion " {}"1" {}": " {}"*[1]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"pass list:"|
|
| {}"pass list:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[]" {}""|
|
| {}"start: " {}"*[]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"1" {}": " {}"*[1]" {}""|
|
| {}"before recursion " {}"1" {}": " {}"*[1]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[1]" {}""|
|
| {}"start: " {}"*[1]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"2" {}": " {}"*[1, 2]" {}""|
|
| {}"before recursion " {}"2" {}": " {}"*[1, 2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[1, 2]" {}""|
|
| {}"start: " {}"*[1, 2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"3" {}": " {}"*[1, 2, 3]" {}""|
|
| {}"before recursion " {}"3" {}": " {}"*[1, 2, 3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[1, 2, 3]" {}""|
|
| {}"start: " {}"*[1, 2, 3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"4" {}": " {}"*[1, 2, 3, 4]" {}""|
|
| {}"before recursion " {}"4" {}": " {}"*[1, 2, 3, 4]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"*[1, 2, 3, 4]" {}""|
|
| {}"start: " {}"*[1, 2, 3, 4]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"5" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
| {}"before recursion " {}"5" {}": " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"4" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
| {}"after recursion " {}"4" {}": " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"3" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
| {}"after recursion " {}"3" {}": " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"2" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
| {}"after recursion " {}"2" {}": " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"1" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
| {}"after recursion " {}"1" {}": " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,60 +1,60 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"depth 1:"|
|
| {}"depth 1:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
| {}"" {}">" {}" depth 2, unscoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, scoped:"|
|
| {}"" {}">" {}" depth 2, scoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
| {}"" {}">" {}" depth 2, unscoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, scoped:"|
|
| {}"" {}">" {}" depth 2, scoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
| {}"" {}">" {}" depth 2, unscoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}">" {}" depth 2, scoped:"|
|
| {}"" {}">" {}" depth 2, scoped:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,32 +1,32 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"1" {}""|
|
| {}"start: " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"1" {}": " {}"2" {}""|
|
| {}"before recursion " {}"1" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"1" {}""|
|
| {}"start: " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"2" {}": " {}"2" {}""|
|
| {}"before recursion " {}"2" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"1" {}""|
|
| {}"start: " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"3" {}": " {}"2" {}""|
|
| {}"before recursion " {}"3" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"1" {}""|
|
| {}"start: " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"4" {}": " {}"2" {}""|
|
| {}"before recursion " {}"4" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"start: " {}"1" {}""|
|
| {}"start: " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"before recursion " {}"5" {}": " {}"2" {}""|
|
| {}"before recursion " {}"5" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"4" {}": " {}"2" {}""|
|
| {}"after recursion " {}"4" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"3" {}": " {}"2" {}""|
|
| {}"after recursion " {}"3" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"2" {}": " {}"2" {}""|
|
| {}"after recursion " {}"2" {}": " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"after recursion " {}"1" {}": " {}"2" {}""|
|
| {}"after recursion " {}"1" {}": " {}"2" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"paren:"|
|
| {}"paren:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"no paren:"|
|
| {}"no paren:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"plopheh" {}""|
|
| {}"" {}"plopheh" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}""|
|
| {}"" {}"4" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
• (c::($(x) <lua function>), s::($(x) <lua function>)) = v: expected 3 arguments, received 2
|
• (c::($(x) <lua function>), s::($(x) <lua function>)) = v: expected 3 arguments, received 2
|
||||||
• (c::($(x) <lua function>), s::($(x) <lua function>)): type check failure for parameter c in function (c::($(x) <lua function>), s::($(x) <lua function>))[0m
|
• (c::($(x) <lua function>), s::($(x) <lua function>)): type check failure for parameter c in function (c::($(x) <lua function>), s::($(x) <lua function>))[0m
|
||||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:4[0m in call: [2mf . "a"[0m[0m
|
↳ from [4mtest/tests/function separate variable from variants.ans:10:4[0m in call: [2mf . "a"[0m[0m
|
||||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in text interpolation: [2m| {(f . "a")} = 2|[0m[0m
|
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in text interpolation: [2m| {(f . "a")} = 2 |[0m[0m
|
||||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in translatable: [2m| {(f . "a")} = 2|[0m[0m
|
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in translatable: [2m| {(f . "a")} = 2 |[0m[0m
|
||||||
↳ from [4m?[0m in block: [2m:f = ($() _)…[0m
|
↳ from [4m?[0m in block: [2m:f = ($() _)…[0m
|
||||||
--# saved #--
|
--# saved #--
|
||||||
{}
|
{}
|
||||||
|
|
@ -1,19 +1,19 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"x"|
|
| {}"x" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"gs" {}""|
|
| {}"" {}"gs" {}"" |
|
||||||
| {}"" {}"gn" {}""|
|
| {}"" {}"gn" {}"" |
|
||||||
| {}"" {}"gs" {}""|
|
| {}"" {}"gs" {}"" |
|
||||||
| {}"" {}"gn" {}""|
|
| {}"" {}"gn" {}"" |
|
||||||
| {}"" {}"gs" {}""|
|
| {}"" {}"gs" {}"" |
|
||||||
| {}"" {}"gn" {}""|
|
| {}"" {}"gn" {}"" |
|
||||||
| {}"" {}"gs" {}""|
|
| {}"" {}"gs" {}"" |
|
||||||
| {}"" {}"gn" {}""|
|
| {}"" {}"gn" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"x"|
|
| {}"x" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"ok" {}""|
|
| {}"" {}"ok" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"ok" {}""|
|
| {}"" {}"ok" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"o" {}"" {}"k" {}""|
|
| {}"" {}"o" {}"" {}"k" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok2"|
|
| {}"ok2" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"8" {}" = 8"|
|
| {}"" {}"8" {}" = 8" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"12" {}" = 12"|
|
| {}"" {}"12" {}" = 12" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"6.28" {}" = 2pi"|
|
| {}"" {}"6.28" {}" = 2pi" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"0.125" {}" = 0.125"|
|
| {}"" {}"0.125" {}" = 0.125" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2.1" {}" = 2.1"|
|
| {}"" {}"2.1" {}" = 2.1" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,32 +1,32 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"" {}"()" {}" = a b ()"|
|
| {}"" {}"()" {}" = a b ()" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"" {}"()" {}" = b ()"|
|
| {}"" {}"()" {}" = b ()" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"" {}"1" {}" = a a 1"|
|
| {}"" {}"1" {}" = a a 1" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"" {}"()" {}" = b ()"|
|
| {}"" {}"()" {}" = b ()" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"" {}"1" {}" = a 1"|
|
| {}"" {}"1" {}" = a 1" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"" {}"1" {}" = b a 1"|
|
| {}"" {}"1" {}" = b a 1" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"" {}"1" {}" = a 1"|
|
| {}"" {}"1" {}" = a 1" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"" {}"()" {}" = b b ()"|
|
| {}"" {}"()" {}" = b b ()" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[1, 2]" {}""|
|
| {}"" {}"*[1, 2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3, 2]" {}""|
|
| {}"" {}"*[3, 2]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3, 5]" {}""|
|
| {}"" {}"*[3, 5]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3, 12]" {}""|
|
| {}"" {}"*[3, 12]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*[3, 12, 99]" {}""|
|
| {}"" {}"*[3, 12, 99]" {}"" |
|
||||||
--- error ---
|
--- error ---
|
||||||
[0m[31m[0m[31mlist index out of bounds[0m
|
[0m[31m[0m[31mlist index out of bounds[0m
|
||||||
↳ from [4mtest/tests/list assignement.ans:21:6[0m in call: [2mx(5) = 0[0m[0m
|
↳ from [4mtest/tests/list assignement.ans:21:6[0m in call: [2mx(5) = 0[0m[0m
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"[1, 2, 3]" {}""|
|
| {}"" {}"[1, 2, 3]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}" == " {}"1" {}""|
|
| {}"" {}"1" {}" == " {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2" {}" == " {}"2" {}""|
|
| {}"" {}"2" {}" == " {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}" == " {}"3" {}""|
|
| {}"" {}"3" {}" == " {}"3" {}"" |
|
||||||
--- error ---
|
--- error ---
|
||||||
[0m[31m[0m[31m[0m[31m[0m[31mtuple index out of bounds[0m
|
[0m[31m[0m[31m[0m[31m[0m[31mtuple index out of bounds[0m
|
||||||
↳ from [4mtest/tests/list index.ans:11:4[0m in call: [2mx(-4)[0m[0m
|
↳ from [4mtest/tests/list index.ans:11:4[0m in call: [2mx(-4)[0m[0m
|
||||||
↳ from [4mtest/tests/list index.ans:11:1[0m in text interpolation: [2m| {x(-4)}|[0m[0m
|
↳ from [4mtest/tests/list index.ans:11:1[0m in text interpolation: [2m| {x(-4)} |[0m[0m
|
||||||
↳ from [4mtest/tests/list index.ans:11:1[0m in translatable: [2m| {x(-4)}|[0m[0m
|
↳ from [4mtest/tests/list index.ans:11:1[0m in translatable: [2m| {x(-4)} |[0m[0m
|
||||||
↳ from [4m?[0m in block: [2m:x = [1, 2, 3]…[0m
|
↳ from [4m?[0m in block: [2m:x = [1, 2, 3]…[0m
|
||||||
--# saved #--
|
--# saved #--
|
||||||
{}
|
{}
|
||||||
|
|
@ -1,27 +1,27 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}"" {}"\
|
| {}"" {}"1" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"2" {}"" {}"\
|
| {}"" {}"2" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"3" {}"" {}"\
|
| {}"" {}"3" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"4" {}"" {}"\
|
| {}"" {}"4" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"5" {}"" {}"\
|
| {}"" {}"5" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"6" {}"" {}"\
|
| {}"" {}"6" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"7" {}"" {}"\
|
| {}"" {}"7" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"8" {}"" {}"\
|
| {}"" {}"8" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"9" {}"" {}"\
|
| {}"" {}"9" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
| {}"" {}"10" {}"" {}"\
|
| {}"" {}"10" {}"" {}"\
|
||||||
" {}""|
|
" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"11" {}""|
|
| {}"" {}"11" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*{1:1, 2:2}" {}""|
|
| {}"" {}"*{1:1, 2:2}" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"()" {}""|
|
| {}"" {}"()" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*{1:3, 2:2}" {}""|
|
| {}"" {}"*{1:3, 2:2}" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"()" {}""|
|
| {}"" {}"()" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*{\"foo\":\"a\", 1:3, 2:2}" {}""|
|
| {}"" {}"*{\"foo\":\"a\", 1:3, 2:2}" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"()" {}""|
|
| {}"" {}"()" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*{\"bar\":\"b\", \"foo\":\"a\", 1:3, 2:2}" {}""|
|
| {}"" {}"*{\"bar\":\"b\", \"foo\":\"a\", 1:3, 2:2}" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"()" {}""|
|
| {}"" {}"()" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"*{\"bar\":\"b\", \"foo\":\"c\", 1:3, 2:2}" {}""|
|
| {}"" {}"*{\"bar\":\"b\", \"foo\":\"c\", 1:3, 2:2}" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"{\"ahah\":23, \"k\":23, 3:12}" {}" == " {}"{" {}"3=12, ahah=23, k=23}"|
|
| {}"" {}"{\"ahah\":23, \"k\":23, 3:12}" {}" == " {}"{" {}"3=12, ahah=23, k=23}" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"12" {}" == 12"|
|
| {}"" {}"12" {}" == 12" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"23" {}" == 23"|
|
| {}"" {}"23" {}" == 23" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"abc" {}" = " {}"abc" {}" = " {}"abc" {}""|
|
| {}"" {}"abc" {}" = " {}"abc" {}" = " {}"abc" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"yes"|
|
| {}"yes" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ye"|
|
| {}"ye" |
|
||||||
| {}"da"|
|
| {}"da" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,19 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"c"|
|
| {}"c" |
|
||||||
| {}"d"|
|
| {}"d" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"e"|
|
| {}"e" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"f "|
|
=> | {}"f" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"g"|
|
| {}"g" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"h "|
|
=> | {}"h" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"abc" {}" = " {}"abc" {}" = " {}"abc" {}""|
|
| {}"" {}"abc" {}" = " {}"abc" {}" = " {}"abc" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"[\"test\":1, 3:\"p\", \"test\":\"foo\", \"ho\":\"ah\", \"test\":\"test\"]" {}""|
|
| {}"" {}"[\"test\":1, 3:\"p\", \"test\":\"foo\", \"ho\":\"ah\", \"test\":\"test\"]" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"[\"name\":1, 3:\"p\", \"test\":\"foo\", \"ho\":\"ah\", \"name\":\"test\"]" {}""|
|
| {}"" {}"[\"name\":1, 3:\"p\", \"test\":\"foo\", \"ho\":\"ah\", \"name\":\"test\"]" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"pouet=" {}"7" {}" (7)"|
|
| {}"pouet=" {}"7" {}" (7)" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"d=" {}"7" {}" (7)"|
|
| {}"d=" {}"7" {}" (7)" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"d=" {}"9" {}" (9)"|
|
| {}"d=" {}"9" {}" (9)" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"pouet=" {}"9" {}" (9)"|
|
| {}"pouet=" {}"9" {}" (9)" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,36 +1,36 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"<<>>"|
|
| {}"<<>>" |
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
> | {}"A "|
|
> | {}"A" |
|
||||||
=> | {}"B "|
|
=> | {}"B" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"boum"|
|
| {}"boum" |
|
||||||
| {}"h " {}"8" {}""|
|
| {}"h " {}"8" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"<<>>"|
|
| {}"<<>>" |
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"A "|
|
=> | {}"A" |
|
||||||
> | {}"B "|
|
> | {}"B" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b"|
|
| {}"b" |
|
||||||
| {}"c"|
|
| {}"c" |
|
||||||
| {}"d"|
|
| {}"d" |
|
||||||
| {}"e"|
|
| {}"e" |
|
||||||
| {}"f"|
|
| {}"f" |
|
||||||
| {}"g"|
|
| {}"g" |
|
||||||
| {}"h " {}"8" {}""|
|
| {}"h " {}"8" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"<<>>"|
|
| {}"<<>>" |
|
||||||
| {}"c"|
|
| {}"c" |
|
||||||
| {}"d"|
|
| {}"d" |
|
||||||
| {}"e"|
|
| {}"e" |
|
||||||
| {}"f"|
|
| {}"f" |
|
||||||
| {}"g"|
|
| {}"g" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"h " {}"8" {}""|
|
| {}"h " {}"8" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"50" {}" = 50"|
|
| {}"" {}"50" {}" = 50" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}" = 3"|
|
| {}"" {}"3" {}" = 3" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"a "|
|
=> | {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"x"|
|
| {}"x" |
|
||||||
| {}"Yes."|
|
| {}"Yes." |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"expression " {}"a" {}""|
|
| {}"expression " {}"a" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"quote " {}"\"" {}""|
|
| {}"quote " {}"\"" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"other codes " {}"\
|
| {}"other codes " {}"\
|
||||||
" {}" " {}"\\" {}" " {}"\9" {}" " {}"{" {}"braces}"|
|
" {}" " {}"\\" {}" " {}"\9" {}" " {}"{" {}"braces}" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"escaping expressions abc and {stuff} \\ and quotes \"" {}""|
|
| {}"" {}"escaping expressions abc and {stuff} \\ and quotes \"" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"c=" {}"2" {}" (2)"|
|
| {}"c=" {}"2" {}" (2)" |
|
||||||
| {}"l=" {}"*[1, 2, 3]" {}" (*[1,2,3])"|
|
| {}"l=" {}"*[1, 2, 3]" {}" (*[1,2,3])" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"c=" {}"5" {}" (5)"|
|
| {}"c=" {}"5" {}" (5)" |
|
||||||
| {}"l=" {}"*[1, 5, 3]" {}" (*[1,5,3])"|
|
| {}"l=" {}"*[1, 5, 3]" {}" (*[1,5,3])" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"foo"|
|
| {1:1}"foo" |
|
||||||
| {"a":[2, 3], "b":[1, 2], 1:1}"bar"|
|
| {"a":[2, 3], "b":[1, 2], 1:1}"bar" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"foo"|
|
| {1:1}"foo" |
|
||||||
| {"a":[2, 3], 1:1}"bar"|
|
| {"a":[2, 3], 1:1}"bar" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"foo"|
|
| {1:1}"foo" |
|
||||||
| {1:1}"bar"|
|
| {1:1}"bar" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a " {1:5}"" {1:5}"b" {1:5}"" {}" c"|
|
| {}"a " {1:5}"" {1:5}"b" {1:5}"" {}" c" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {2:2}"a " {1:5, 2:2}"" {1:5, 2:2}"b" {1:5, 2:2}"" {2:2}" c"|
|
| {2:2}"a " {1:5, 2:2}"" {1:5, 2:2}"b" {1:5, 2:2}"" {2:2}" c" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"foo"|
|
| {1:1}"foo" |
|
||||||
| {"a":[2, 3], 1:1}"bar"|
|
| {"a":[2, 3], 1:1}"bar" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"b c"|
|
| {}"b c" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
| {}"b c"|
|
| {}"b c" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"b c"|
|
| {}"b c" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"lol"|
|
| {1:1}"lol" |
|
||||||
--- return ---
|
--- return ---
|
||||||
@| {}"a " {1:2}"d" {}" " {1:3}"t" {}" b"|
|
@| {}"a " {1:2}"d" {}" " {1:3}"t" {}" b" |
|
||||||
--# saved #--
|
--# saved #--
|
||||||
{}
|
{}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"lol"|
|
| {}"lol" |
|
||||||
--- return ---
|
--- return ---
|
||||||
@| {}"a " {}"d" {}" b"|
|
@| {}"a " {}"d" {}" b" |
|
||||||
--# saved #--
|
--# saved #--
|
||||||
{}
|
{}
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"expression " {}"{" {}"a}"|
|
| {}"expression " {}"{" {}"a}" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"quote " {}"\"" {}""|
|
| {}"quote " {}"\"" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"other codes " {}"\
|
| {}"other codes " {}"\
|
||||||
" {}" " {}"\\" {}" " {}"\9" {}""|
|
" {}" " {}"\\" {}" " {}"\9" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"decorators " {}"#" {}" tag " {}"~" {}" condition " {}"$" {}" fn"|
|
| {}"decorators " {}"#" {}" tag " {}"~" {}" condition " {}"$" {}" fn" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"sub " {}"[" {}"text]"|
|
| {}"sub " {}"[" {}"text]" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a: " {}"5" {}""|
|
| {}"a: " {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"A"|
|
| {1:1}"A" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Surprise choice! "|
|
=> | {}"Surprise choice!" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok"|
|
| {}"ok" |
|
||||||
| {}"Press " {}"()" {}" to jump."|
|
| {}"Press " {}"()" {}" to jump." |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"left"|
|
| {1:1}"left" |
|
||||||
--- choice ---
|
--- choice ---
|
||||||
=> | {}"Surprise choice! "|
|
=> | {}"Surprise choice!" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"ok2"|
|
| {}"ok2" |
|
||||||
| {}"Use " {}" joystick" {}" to move."|
|
| {}"Use " {}" joystick" {}" to move." |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"A"|
|
| {1:1}"A" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Press " {}"()" {}" to jump."|
|
| {}"Press " {}"()" {}" to jump." |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:1}"left"|
|
| {1:1}"left" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Use " {}" joystick" {}" to move."|
|
| {}"Use " {}" joystick" {}" to move." |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Press " {1:1}"A" {}" to jump."|
|
| {}"Press " {1:1}"A" {}" to jump." |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {1:2}"left"|
|
| {1:2}"left" |
|
||||||
| {}"Use " {}" joystick" {}" to move."|
|
| {}"Use " {}" joystick" {}" to move." |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"a"|
|
| {}"a" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Hello"|
|
| {}"Hello" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Bonjour"|
|
| {}"Bonjour" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Hello"|
|
| {}"Hello" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"Hello" {}""|
|
| {}"" {}"Hello" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"Bonjour" {}""|
|
| {}"" {}"Bonjour" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Hello"|
|
| {}"Hello" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Bonjour"|
|
| {}"Bonjour" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Hello"|
|
| {}"Hello" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Bonjour"|
|
| {}"Bonjour" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"-5" {}""|
|
| {}"" {}"-5" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"minus lol" {}""|
|
| {}"" {}"minus lol" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"generic minus" {}""|
|
| {}"" {}"generic minus" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Start with i=" {}"1" {}":"|
|
| {}"Start with i=" {}"1" {}":" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}""|
|
| {}"" {}"4" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Start with i=" {}"5" {}":"|
|
| {}"Start with i=" {}"5" {}":" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"Loop not ran."|
|
| {}"Loop not ran." |
|
||||||
--- return ---
|
--- return ---
|
||||||
()
|
()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
|
|
@ -1,40 +1,40 @@
|
||||||
--# run #--
|
--# run #--
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"0" {}""|
|
| {}"" {}"0" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}""|
|
| {}"" {}"4" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"6" {}""|
|
| {}"" {}"6" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"7" {}""|
|
| {}"" {}"7" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"8" {}""|
|
| {}"" {}"8" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"9" {}""|
|
| {}"" {}"9" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"10" {}""|
|
| {}"" {}"10" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"return in loop:"|
|
| {}"return in loop:" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"0" {}""|
|
| {}"" {}"0" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"1" {}""|
|
| {}"" {}"1" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"2" {}""|
|
| {}"" {}"2" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"3" {}""|
|
| {}"" {}"3" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"4" {}""|
|
| {}"" {}"4" {}"" |
|
||||||
--- text ---
|
--- text ---
|
||||||
| {}"" {}"5" {}""|
|
| {}"" {}"5" {}"" |
|
||||||
--- return ---
|
--- return ---
|
||||||
@()
|
@()
|
||||||
--# saved #--
|
--# saved #--
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue