changed the way that functions are defined
This commit is contained in:
12
tests/word_syntax.sl
Normal file
12
tests/word_syntax.sl
Normal file
@@ -0,0 +1,12 @@
|
||||
import ../stdlib/stdlib.sl
|
||||
import ../stdlib/io.sl
|
||||
|
||||
word add-two
|
||||
+
|
||||
end
|
||||
|
||||
word main
|
||||
3 4 add-two
|
||||
puti cr
|
||||
0
|
||||
end
|
||||
Reference in New Issue
Block a user