diff options
Diffstat (limited to 'examples/helloWorld.nya')
| -rw-r--r-- | examples/helloWorld.nya | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/helloWorld.nya b/examples/helloWorld.nya new file mode 100644 index 0000000..625860c --- /dev/null +++ b/examples/helloWorld.nya @@ -0,0 +1,8 @@ +import fn puts(str: [u8]) -> i32; + +fn main() -> i32 { + varbl: i32 pog = puts("Hello World!"); + pog = 8; + const value = pog; + return value; +} |
