mclangc/test.mcl
MCorange 2d7f302d42 Added function features
Added features:
 - Exported functions (very experimental and disabled by default with
   hardcoded toggle)
 - Inline functions
2023-04-13 04:57:28 +03:00

13 lines
215 B
Plaintext

// include "std.mcl"
fn mcl_print with int ptr returns void then
1 1 syscall3 drop
done
fn mcl_dump with int returns void then
_dbg_print
done
fn main with void returns void then
"hi\n" mcl_print
done