diff --git a/samples/hello_world.psy b/samples/hello_world.psy index 132c5c7..61b2ecc 100644 --- a/samples/hello_world.psy +++ b/samples/hello_world.psy @@ -1,9 +1,12 @@ +puts : (str : i8*) -> i64 = extern; + main : () -> i64 { + puts("Hello, World!"); return 0; } -== build == +== default : build == { set_linkage("executable"); set_output("hello_world.exe");