From: Aaron Taylor Date: Sun, 5 Apr 2020 06:42:59 +0000 (-0700) Subject: Added expected output to READMEs for examples. X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/commitdiff_plain/4be3f03fac750a3043dec0086fea6430d3d3dcce?hp=6a0f845cfaf0795c2898781e795267f4b07a3051 Added expected output to READMEs for examples. --- diff --git a/examples/basic-user-interaction/README.md b/examples/basic-user-interaction/README.md index 6764552..715f95b 100644 --- a/examples/basic-user-interaction/README.md +++ b/examples/basic-user-interaction/README.md @@ -105,3 +105,12 @@ That's the whole program. The file `hello.pvvs` contains an uncommented version of this exact source code and may be executed with a `make run` in this directory. +# Example Output # + + vvhitespace/examples/basic-user-interaction % make run + What is your name? + Rolf + How old age you? + 42 + Hello, Rolf! In a trusting world, 42 is older than I am. + diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md index f003d49..ff1ed2f 100644 --- a/examples/hello-world/README.md +++ b/examples/hello-world/README.md @@ -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! +