From f906d0b350b0b4ceb747669c9a9845d11bd0e486 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 15 Aug 2022 12:22:47 +0200 Subject: self hosted progress --- examples/hello-world.cff | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/hello-world.cff (limited to 'examples') 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"; +} + -- cgit v1.2.3