general update

This commit is contained in:
IgorCielniak
2025-12-20 23:20:53 +01:00
parent 3157f22c9b
commit bfbbebf034
7 changed files with 215 additions and 42 deletions

13
c_extern.sl Normal file
View File

@@ -0,0 +1,13 @@
import stdlib/io.sl
# C-style externs (auto ABI handling)
extern long labs(long n)
extern void exit(int status)
: main
# Test C-style extern with implicit ABI handling
-10 labs puti cr
# Test extern void
0 exit
;