init commit again

This commit is contained in:
Peter
2023-11-01 09:29:33 +01:00
parent 448147e7da
commit d6c745207b
250 changed files with 15552 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
general {
funcon-term:
sequential(
print( ),
print( list-elements list-nil ))
;
}
tests {
result-term: null-value;
standard-out: [ ];
}

View File

@@ -0,0 +1,14 @@
general {
funcon-term:
sequential(
print 1,
print(2,3),
print true,
print(sequential(print tuple null-value, "OK")))
;
}
tests {
result-term: null-value;
standard-out: [ 1, 2, 3, true, tuple(null-value), "OK" ];
}

View File

@@ -0,0 +1,12 @@
general {
funcon-term: print(reverse(read, read, read));
}
inputs {
standard-in: (1,2,3);
}
tests {
result-term: null-value;
standard-out: [3,2,1];
}

View File

@@ -0,0 +1,12 @@
general {
funcon-term: print(read, else(read, "OK"));
}
inputs {
standard-in: 1;
}
tests {
result-term: null-value;
standard-out: [1, "OK"];
}

View File

@@ -0,0 +1,12 @@
general {
funcon-term: print(read, read, else(read, "OK"));
}
inputs {
standard-in: (1,2);
}
tests {
result-term: null-value;
standard-out: [1, 2, "OK"];
}