From faef2d81c224b715c5e429d04c59ba50fb772d9e Mon Sep 17 00:00:00 2001 From: thing1 Date: Tue, 15 Oct 2024 10:19:30 +0100 Subject: added a stupid amount of work to zpy, and started the document work in latex rather than groff --- comp/lucas-standen-NEA/code2/examples/helloworld/main | Bin 0 -> 24720 bytes .../code2/examples/helloworld/main.zpy | 3 +++ .../code2/examples/helloworld/zpybuild.sh | 2 ++ 3 files changed, 5 insertions(+) create mode 100755 comp/lucas-standen-NEA/code2/examples/helloworld/main create mode 100644 comp/lucas-standen-NEA/code2/examples/helloworld/main.zpy create mode 100644 comp/lucas-standen-NEA/code2/examples/helloworld/zpybuild.sh (limited to 'comp/lucas-standen-NEA/code2/examples/helloworld') 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 Binary files /dev/null and b/comp/lucas-standen-NEA/code2/examples/helloworld/main 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 -- cgit v1.2.3