about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-30 00:19:15 +0100
committerBaitinq <[email protected]>2025-01-30 00:19:15 +0100
commite6ad1bf10851d12f33765000347a6e2265e66740 (patch)
treeb7bed227cbe0972f38337fecb60eb004ddabf9d0 /examples
parentCodegen: Support identifiers in return expressions (diff)
downloadpry-lang-e6ad1bf10851d12f33765000347a6e2265e66740.tar.gz
pry-lang-e6ad1bf10851d12f33765000347a6e2265e66740.tar.bz2
pry-lang-e6ad1bf10851d12f33765000347a6e2265e66740.zip
Codegen: Get function declaration/calling kind of working
Diffstat (limited to 'examples')
-rw-r--r--examples/0.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/0.src b/examples/0.src
index a55a285..c4cf91d 100644
--- a/examples/0.src
+++ b/examples/0.src
@@ -1,7 +1,7 @@
 /* HELLO! Welcome to the unnamed language */
 
 let main = () => {
-	printf(2);
+	print(18);
 	
-	return 1;
+	return 2;
 };