3 ms·
It appears that the language uses "return" as a synonym for the SYSCALL x86_64 instruction: https://github.com/wellang/well/blob/main/src/syscall_interp.c https
by teraflop 4y ago
It appears that the language uses "return" as a synonym for the SYSCALL x86_64 instruction: https://github.com/wellang/well/blob/main/src/syscall_interp.c https://github.com/wellang/well/blob/main/src/syscall_interp...
The example code is equivalent to:
write(1, "hello world!", 12);
exit(0);
It's basically just doing some very simple string substitution on the input, and then piping the result to the nasm assembler.