diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-08-13 17:28:34 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-08-13 17:28:34 -0500 |
| commit | b1ad4a1c280d25f92fdb1103edf2faa5e3e1daac (patch) | |
| tree | 9c2cabee2c9ca5af94752efff2aed826a2b18f6a /examples/helloWorld.nya | |
| parent | cf80bb7f1b6fb4ee1d08d3d6850966b4951274b5 (diff) | |
| download | calico-b1ad4a1c280d25f92fdb1103edf2faa5e3e1daac.tar.gz | |
Added type checking on function calls
Diffstat (limited to 'examples/helloWorld.nya')
| -rw-r--r-- | examples/helloWorld.nya | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/helloWorld.nya b/examples/helloWorld.nya new file mode 100644 index 0000000..0b8c59b --- /dev/null +++ b/examples/helloWorld.nya @@ -0,0 +1,6 @@ +import fn puts(str: [u8]) -> i32; + +fn main(argc: i32) -> i32 { + puts("Hello World!"); + return 0; +} |
