summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/sample.zpy
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/code2/sample.zpy')
-rw-r--r--comp/lucas-standen-NEA/code2/sample.zpy10
1 files changed, 9 insertions, 1 deletions
diff --git a/comp/lucas-standen-NEA/code2/sample.zpy b/comp/lucas-standen-NEA/code2/sample.zpy
index fe7e1ae..c8eaba1 100644
--- a/comp/lucas-standen-NEA/code2/sample.zpy
+++ b/comp/lucas-standen-NEA/code2/sample.zpy
@@ -1 +1,9 @@
-(let a:i64 (+ (- 1 4) 3))
+(defun main int)
+(let i:int 10)
+(let a:int 10)
+
+(if (= i a))
+(write a)
+(endif)
+
+(endfun)