Regression tests in interpretation only

This commit is contained in:
Dmitry Boulytchev 2019-09-19 15:52:20 +03:00
parent 1cfd3123be
commit 5527013a7f
15 changed files with 38 additions and 28 deletions

View file

@ -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