Hello World works

This commit is contained in:
2026-04-24 22:32:41 +00:00
parent 759497ee70
commit 883d56143f
23 changed files with 447 additions and 487 deletions

View File

@@ -5,9 +5,9 @@ let main = "foo" + string::slice "hello" 1 3 + "bar"
let io_main = (
stdio::get_stdout \stdout
std::stream::write_str stdout "Hello, World!"
(std::stream::flush
(std::stream::close
std::stream::write_str stdout "Hello, World!\n"
(std::stream::flush stdout
(std::stream::close stdout
orchid::cmd::exit
\e e)
\e e)