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

4
f.sl
View File

@@ -4,7 +4,7 @@ import stdlib/float.sl
extern double atan2(double y, double x)
: main
word main
# Basic math
1.5 2.5 f+ fputln # Outputs: 4.000000
@@ -13,5 +13,5 @@ extern double atan2(double y, double x)
4.0 f* fputln # Outputs: 3.141593 (approx pi)
0
;
end