projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a 'Hello, World!" tutorial that links Whitespace example to VVhitespace+stdlib.
[vvhitespace]
/
examples
/
tutorial_1_hello_world
/
hello.pvvs
diff --git a/examples/tutorial_1_hello_world/hello.pvvs
b/examples/tutorial_1_hello_world/hello.pvvs
new file mode 100644
(file)
index 0000000..
507437e
--- /dev/null
+++ b/
examples/tutorial_1_hello_world/hello.pvvs
@@ -0,0
+1,8
@@
+@@ 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>