aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-15 12:22:47 +0200
committerlemon <lsof@mailbox.org>2022-08-15 12:22:47 +0200
commitf906d0b350b0b4ceb747669c9a9845d11bd0e486 (patch)
tree5f09a7b714e6ce93f6094a06e5f736513110fb8d /examples
parentf802bb99263aaa5be492999babd44cd2fdb1c65f (diff)
self hosted progress
Diffstat (limited to 'examples')
-rw-r--r--examples/hello-world.cff8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff
new file mode 100644
index 0000000..d127b96
--- /dev/null
+++ b/examples/hello-world.cff
@@ -0,0 +1,8 @@
+
+extern fn printf(fmt *const u8, ...) int;
+extern fn printf2(fmt *const u8, ...) int;
+
+extern fn main(argc int, argc *const *const u8) int {
+ "hello world\n";
+}
+