This repository has been archived on 2025-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive/Nub.Lang/Nub.Lang/Input/program.nub
2025-01-26 15:52:30 +01:00

12 lines
169 B
Plaintext

let SYS_WRITE = 1;
let STD_IN = 0;
let STD_OUT = 1;
let STD_ERR = 2;
func main() {
write("test");
}
func write(msg: Func) {
syscall(SYS_WRITE, STD_OUT, msg);
}