From: Aaron Taylor Date: Mon, 30 Mar 2020 03:39:19 +0000 (-0700) Subject: Removed old Hello, World examples. X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/commitdiff_plain/94bb110ac1b21df71e593141cdff5eb73582b9c5 Removed old Hello, World examples. --- diff --git a/examples/hello-stdlib/Makefile b/examples/hello-stdlib/Makefile deleted file mode 100644 index b94d87d..0000000 --- a/examples/hello-stdlib/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# (c) 2019 Aaron Taylor -# All rights reserved. - -include ../config.mk - -all: hello - -hello: - $(CPP) $(CPP_FLAGS) -o temp.pvvs hello.pvvs - $(VVS_COMPILER) -i temp.pvvs -o hello.vvs - @rm -f temp.pvvs - -run: hello - $(VVS_INTERPRETER) -i hello.vvs - -clean: - @rm -f hello.vvs temp.pvvs diff --git a/examples/hello-stdlib/hello.pvvs b/examples/hello-stdlib/hello.pvvs deleted file mode 100644 index 507437e..0000000 --- a/examples/hello-stdlib/hello.pvvs +++ /dev/null @@ -1,8 +0,0 @@ -@@ This program outputs "Hello, world!" - -A"Hello, world!\n" -SSSSN | ST: PUSH 0 -NSTTSSSN | FC: JSR>1000 (printf; see stdlib) -NNN | FC: Terminate program - -#include diff --git a/examples/hello-world/Makefile b/examples/hello-world/Makefile deleted file mode 100644 index c5bb796..0000000 --- a/examples/hello-world/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# (c) 2019 Aaron Taylor -# All rights reserved. - -include ../config.mk - -all: hello - -hello: - $(VVS_COMPILER) -i hello.pvvs -o hello.vvs - -run: hello - $(VVS_INTERPRETER) -i hello.vvs - -clean: - @rm -f hello.vvs diff --git a/examples/hello-world/hello.pvvs b/examples/hello-world/hello.pvvs deleted file mode 100644 index 53f515f..0000000 --- a/examples/hello-world/hello.pvvs +++ /dev/null @@ -1,32 +0,0 @@ -## This program outputs "Hello, world!" -## It was copied from Wikipedia. - -SSSTSSTSSSN | ST: Push +72 (ASCII H) -TNSS | IO: Output character -SSSTTSSTSTN | ST: Push +101 (ASCII e) -TNSS | IO: Output character -SSSTTSTTSSN | ST: Push +108 (ASCII l) -TNSS | IO: Output character -SSSTTSTTSSN | ST: Push +108 (ASCII l) -TNSS | IO: Output character -SSSTTSTTTTN | ST: Push +111 (ASCII o) -TNSS | IO: Output character -SSSTSTTSSN | ST: Push +44 (ASCII ,) -TNSS | IO: Output character -SSSTSSSSSN | ST: Push +32 (ASCII space) -TNSS | IO: Output character -SSSTTTSTTTN | ST: Push +119 (ASCII w) -TNSS | IO: Output character -SSSTTSTTTTN | ST: Push +111 (ASCII o) -TNSS | IO: Output character -SSSTTTSSTSN | ST: Push +114 (ASCII r) -TNSS | IO: Output character -SSSTTSTTSSN | ST: Push +108 (ASCII l) -TNSS | IO: Output character -SSSTTSSTSSN | ST: Push +100 (ASCII d) -TNSS | IO: Output character -SSSTSSSSTN | ST: Push +33 (ASCII !) -TNSS | IO: Output character -SSSTSTSN | ST: Push +10 (ASCII '\n') -TNSS | IO: Output character -NNN | FC: Terminate program