X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/31f53e886387b23ccaa5777bf4f4692da50c3e4d..4be3f03fac750a3043dec0086fea6430d3d3dcce:/examples/hello-world/README.md diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md index b49b706..ff1ed2f 100644 --- a/examples/hello-world/README.md +++ b/examples/hello-world/README.md @@ -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. -# "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 @@ -136,3 +136,9 @@ Putting all that together, we discover a greatly simplified program. #include 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! +