This commit is contained in:
Scarlett
2025-05-06 15:21:36 -04:00
parent cab30dc2c5
commit 596434e152
6 changed files with 367 additions and 3 deletions

View File

@ -1 +1 @@
(* TODO: Prints out fib sequence. *)
(* TODO *)

18
tests/programs/io.alpha Normal file
View File

@ -0,0 +1,18 @@
#include "std.alpha"
function entry: string2integer
entry (arg) := {
[integer: x; string: s; character: c; integer: result]
s := inS(1);
result := printS(s);
x := inI(1);
result := printI(x);
c := inC(1);
result := printC(c);
return 0;
}