import ../stdlib/linux.sl
# to demonstrate the ability to not use the stdlib at all, the return codes of syscall are not handeled (droped), in a real world scenario you would want to drop them
word main
1
"hello"
syscall.write
syscall
#drop
" world"
3
syscall.write.num
"!\n"
syscall.write.argc
"(via syscall3)\n"
syscall3
0
end
# simplest version, works without any libraries:
# 1
# "hello"
# 3
# syscall