From c460a26850eca5ded047d0eb0d183b861087aa53 Mon Sep 17 00:00:00 2001 From: standenboy Date: Tue, 30 Apr 2024 14:22:45 +0100 Subject: write up update --- comp/cw/code/parser/sample.zpy | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 comp/cw/code/parser/sample.zpy (limited to 'comp/cw/code/parser/sample.zpy') diff --git a/comp/cw/code/parser/sample.zpy b/comp/cw/code/parser/sample.zpy deleted file mode 100644 index e289d9d..0000000 --- a/comp/cw/code/parser/sample.zpy +++ /dev/null @@ -1,15 +0,0 @@ -{ -(let fib:function -(defun num:i32 i32 - (if (< num 2) - (return num) - ) - (else - (return (+ (fib (- num 1)) (fib (- num 2)) )) - ) -)) -} -(let a:i32 (fib 5)) -(const str[]:char "hello!") -! returns the 5th fib number -(const str[]:char "hello!") -- cgit v1.2.3