mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-15 19:28:47 +00:00
Regression tests in interpretation only
This commit is contained in:
parent
1cfd3123be
commit
5527013a7f
15 changed files with 38 additions and 28 deletions
|
|
@ -12,7 +12,8 @@ fun print_list (l) {
|
|||
esac
|
||||
}
|
||||
|
||||
fun array_to_list (a) local l, i {
|
||||
fun array_to_list (a) {
|
||||
local l, i;
|
||||
l := {};
|
||||
for i := a.length, i > 0, i := i-1 do
|
||||
l := a[i-1] : l
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue