added inline functions
This commit is contained in:
1
tests/inline.expected
Normal file
1
tests/inline.expected
Normal file
@@ -0,0 +1 @@
|
||||
hello
|
||||
8
tests/inline.sl
Normal file
8
tests/inline.sl
Normal 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
1
tests/inline.test
Normal file
@@ -0,0 +1 @@
|
||||
python main.py tests/inline.sl -o /tmp/inline > /dev/null && /tmp/inline
|
||||
Reference in New Issue
Block a user