changed the way that functions are defined

This commit is contained in:
IgorCielniak
2026-01-08 15:28:10 +01:00
parent d4dc6ceef5
commit b9098d9893
33 changed files with 232 additions and 198 deletions

View File

@@ -2,14 +2,14 @@ import stdlib/stdlib.sl
import stdlib/io.sl
import fn.sl
: main
word main
2 40 +
puti cr
extend-syntax
foo(1, 2)
puti cr
0
;
end
fn foo(int a, int b){
return a + b;