added inline functions

This commit is contained in:
IgorCielniak
2026-01-09 11:01:24 +01:00
parent f2af252bc4
commit 8466664637
4 changed files with 87 additions and 0 deletions

1
tests/inline.expected Normal file
View File

@@ -0,0 +1 @@
hello

8
tests/inline.sl Normal file
View File

@@ -0,0 +1,8 @@
word fn
"hello"
end
inline
word main
1 fn 3 1 syscall 0
end

1
tests/inline.test Normal file
View File

@@ -0,0 +1 @@
python main.py tests/inline.sl -o /tmp/inline > /dev/null && /tmp/inline