about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-27 20:44:02 +0100
committerBaitinq <[email protected]>2025-01-27 23:44:02 +0100
commitca1823eda5b9ee3a186cddaf711d19a4016d03be (patch)
tree2308107fbde7e0bea2454a19d44c8481b31df740 /examples
parentCodegen: Start working on actual AST codegen (diff)
downloadpry-lang-ca1823eda5b9ee3a186cddaf711d19a4016d03be.tar.gz
pry-lang-ca1823eda5b9ee3a186cddaf711d19a4016d03be.tar.bz2
pry-lang-ca1823eda5b9ee3a186cddaf711d19a4016d03be.zip
Codegen: Get the most basic ever example compiling
Diffstat (limited to 'examples')
-rw-r--r--examples/-1.src5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/-1.src b/examples/-1.src
new file mode 100644
index 0000000..874d7ad
--- /dev/null
+++ b/examples/-1.src
@@ -0,0 +1,5 @@
+/* HELLO! Welcome to the unnamed language */
+
+let main = () => {
+	return 7;
+};