about summary refs log tree commit diff
path: root/examples/4.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/4.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/4.src')
-rw-r--r--examples/4.src2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/4.src b/examples/4.src
index d1ae454..1718eed 100644
--- a/examples/4.src
+++ b/examples/4.src
@@ -1,3 +1,5 @@
+extern printf = (ptr, i64) => i64;
+
 let main = () => i64 {
 	let print_one = () => i64 {
 		printf("%d", 1);