summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code/parser/sample.zpy
diff options
context:
space:
mode:
authorstandenboy <standenboy@seacrossedlovers.xyz>2024-05-06 09:32:48 +0100
committerstandenboy <standenboy@seacrossedlovers.xyz>2024-05-06 09:32:48 +0100
commit319e7ea0a724cd97041c1aaf1281c4ca6aa688d1 (patch)
tree7411f4636ce9ce9733760666f3311a17b6e4d17c /comp/lucas-standen-NEA/code/parser/sample.zpy
parent0ca35b27de52a5d3acf5f2eb877a440c1103e928 (diff)
added a load of stuff, and fixed a git conflict
Diffstat (limited to 'comp/lucas-standen-NEA/code/parser/sample.zpy')
-rw-r--r--comp/lucas-standen-NEA/code/parser/sample.zpy15
1 files changed, 0 insertions, 15 deletions
diff --git a/comp/lucas-standen-NEA/code/parser/sample.zpy b/comp/lucas-standen-NEA/code/parser/sample.zpy
deleted file mode 100644
index e289d9d..0000000
--- a/comp/lucas-standen-NEA/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!")