Added expected output to READMEs for examples.
[vvhitespace] / examples / hello-world / README.md
index b49b706..ff1ed2f 100644 (file)
@@ -4,7 +4,7 @@ This example starts with the `Hello, world!` example from Wikipedia's
 Whitespace page, gradually rewriting it to use the ASCII string feature of the
 VVhitespace compiler and the `printf` subroutine from the stdlib.
 
 Whitespace page, gradually rewriting it to use the ASCII string feature of the
 VVhitespace compiler and the `printf` subroutine from the stdlib.
 
-# "Hello, World!" in VVhitespace #
+# Code Commentary #
 
 Wikipedia's `Hello, World!` example is reproduced below. It follows a simple
 form, pushing an integer corresponding to an ASCII character onto the stack and
 
 Wikipedia's `Hello, World!` example is reproduced below. It follows a simple
 form, pushing an integer corresponding to an ASCII character onto the stack and
@@ -136,3 +136,9 @@ Putting all that together, we discover a greatly simplified program.
     #include <stdio.pvvs>
 
 This is already saved in `hello.pvvs` which you can execute with `make run`.
     #include <stdio.pvvs>
 
 This is already saved in `hello.pvvs` which you can execute with `make run`.
+
+# Example Output #
+
+    vvhitespace/examples/basic-user-interaction % make run
+    Hello, world!
+