about summary refs log tree commit diff
path: root/examples/0.pry
diff options
context:
space:
mode:
Diffstat (limited to 'examples/0.pry')
-rw-r--r--examples/0.pry19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/0.pry b/examples/0.pry
new file mode 100644
index 0000000..90a6861
--- /dev/null
+++ b/examples/0.pry
@@ -0,0 +1,19 @@
+/* HELLO! Welcome to the unnamed language */
+
+import "!stdlib.pry";
+
+let main = (argc: i64, argv: *i64) => i64 {
+	printf("%d\n", argc);
+	
+	return 2;
+};
+
+/*
+
+Expected stdout:
+
+1
+
+Expected return: 2
+
+*/