refactored the testing system, fixed fput and removed arr_asm.sl

This commit is contained in:
igor
2026-02-16 14:32:13 +01:00
parent 02f54b8f86
commit 81ee4a8ff9
55 changed files with 683 additions and 376 deletions

21
extra_tests/fn_test.sl Normal file
View File

@@ -0,0 +1,21 @@
import stdlib/stdlib.sl
import stdlib/io.sl
import libs/fn.sl
fn foo(int a, int b){
1
puti cr
return a b +;
}
fn bar(int a, int b){
return a + b;
}
word main
extend-syntax
foo(3, 2)
puti cr
bar(1, 2)
puti cr
end