summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/examples/helloworld
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/code2/examples/helloworld')
-rwxr-xr-xcomp/lucas-standen-NEA/code2/examples/helloworld/mainbin0 -> 24720 bytes
-rw-r--r--comp/lucas-standen-NEA/code2/examples/helloworld/main.zpy3
-rw-r--r--comp/lucas-standen-NEA/code2/examples/helloworld/zpybuild.sh2
3 files changed, 5 insertions, 0 deletions
diff --git a/comp/lucas-standen-NEA/code2/examples/helloworld/main b/comp/lucas-standen-NEA/code2/examples/helloworld/main
new file mode 100755
index 0000000..653d84c
--- /dev/null
+++ b/comp/lucas-standen-NEA/code2/examples/helloworld/main
Binary files differ
diff --git a/comp/lucas-standen-NEA/code2/examples/helloworld/main.zpy b/comp/lucas-standen-NEA/code2/examples/helloworld/main.zpy
new file mode 100644
index 0000000..ef0a288
--- /dev/null
+++ b/comp/lucas-standen-NEA/code2/examples/helloworld/main.zpy
@@ -0,0 +1,3 @@
+(defun main int)
+ (printstr "hello world\n")
+(endfun)
diff --git a/comp/lucas-standen-NEA/code2/examples/helloworld/zpybuild.sh b/comp/lucas-standen-NEA/code2/examples/helloworld/zpybuild.sh
new file mode 100644
index 0000000..7f675c3
--- /dev/null
+++ b/comp/lucas-standen-NEA/code2/examples/helloworld/zpybuild.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+zpy ./main.zpy -o main