about summary refs log tree commit diff
path: root/examples/1.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-03-24 00:57:07 +0100
committerBaitinq <[email protected]>2025-03-24 00:57:07 +0100
commit0852417019c6129dc356d84d3bd6cb61d78ba7db (patch)
treef685d41db3175c716fd1f302bc27366067bd028c /examples/1.src
parentFeature: Add support for strings (diff)
downloadinterpreter-0852417019c6129dc356d84d3bd6cb61d78ba7db.tar.gz
interpreter-0852417019c6129dc356d84d3bd6cb61d78ba7db.tar.bz2
interpreter-0852417019c6129dc356d84d3bd6cb61d78ba7db.zip
Feature: Add initial support for pointers
Diffstat (limited to 'examples/1.src')
-rw-r--r--examples/1.src2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/1.src b/examples/1.src
index d3c8482..5a6da78 100644
--- a/examples/1.src
+++ b/examples/1.src
@@ -1,3 +1,5 @@
+extern printf = (ptr, i64) => i64;
+
 let main = () => i64 {
 	let s = "hello";