about summary refs log tree commit diff
path: root/examples/0.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-02-15 23:09:35 +0100
committerBaitinq <[email protected]>2025-02-15 23:12:27 +0100
commitadfde11dd5495cbe28e7faba6dd14b48897b8b7b (patch)
tree7c818a6892938a840dd35f7e631ba6bbb532075d /examples/0.src
parentCodegen: depend on libc for entrypoint (diff)
downloadinterpreter-adfde11dd5495cbe28e7faba6dd14b48897b8b7b.tar.gz
interpreter-adfde11dd5495cbe28e7faba6dd14b48897b8b7b.tar.bz2
interpreter-adfde11dd5495cbe28e7faba6dd14b48897b8b7b.zip
Codegen: start supporting types for function params
Diffstat (limited to 'examples/0.src')
-rw-r--r--examples/0.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/0.src b/examples/0.src
index 29a5c85..a6e4b38 100644
--- a/examples/0.src
+++ b/examples/0.src
@@ -1,7 +1,7 @@
 /* HELLO! Welcome to the unnamed language */
 
-let main = () => i64 {
-	print(18);
+let main = (argc: i64) => i64 {
+	print(argc);
 	
 	return 2;
 };