Removed old Hello, World examples.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 30 Mar 2020 03:39:19 +0000 (20:39 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 30 Mar 2020 03:39:19 +0000 (20:39 -0700)
examples/hello-stdlib/Makefile [deleted file]
examples/hello-stdlib/hello.pvvs [deleted file]
examples/hello-world/Makefile [deleted file]
examples/hello-world/hello.pvvs [deleted file]

diff --git a/examples/hello-stdlib/Makefile b/examples/hello-stdlib/Makefile
deleted file mode 100644 (file)
index b94d87d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# 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 (file)
index 507437e..0000000
+++ /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 <stdio.pvvs>
diff --git a/examples/hello-world/Makefile b/examples/hello-world/Makefile
deleted file mode 100644 (file)
index c5bb796..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# 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 (file)
index 53f515f..0000000
+++ /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