From: Aaron Taylor Date: Tue, 2 Jul 2019 21:55:33 +0000 (-0700) Subject: Moved Hello, World example to new file extension. X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/commitdiff_plain/2f6928ffa8acd02f8b388294a928a36d99ad5be0 Moved Hello, World example to new file extension. --- diff --git a/examples/hello.pvvs b/examples/hello.pvvs new file mode 100644 index 0000000..145fe1c --- /dev/null +++ b/examples/hello.pvvs @@ -0,0 +1,30 @@ +## 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 +NNN | FC: Terminate program diff --git a/examples/hello.pws b/examples/hello.pws deleted file mode 100644 index 145fe1c..0000000 --- a/examples/hello.pws +++ /dev/null @@ -1,30 +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 -NNN | FC: Terminate program