bring back hello world
This commit is contained in:
parent
5bcb10eff4
commit
03864d7a94
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
hello*
|
||||
tmp
|
||||
result*
|
||||
|
|
14
hello-world.ha
Normal file
14
hello-world.ha
Normal file
|
@ -0,0 +1,14 @@
|
|||
use fmt;
|
||||
|
||||
export fn main() void = {
|
||||
const greetings = [
|
||||
"Hello, world!",
|
||||
"¡Hola Mundo!",
|
||||
"Γειά σου Κόσμε!",
|
||||
"Привіт, світ!",
|
||||
"こんにちは世界!",
|
||||
];
|
||||
for (let greeting .. greetings) {
|
||||
fmt::println(greeting)!;
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue