diff options
| author | Joel Martin <github@martintribe.org> | 2015-03-07 15:24:22 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-03-07 15:24:22 -0600 |
| commit | daa1cf3fe5a23c087c87829bfebeeb01ac04911b (patch) | |
| tree | 1b18ab929d3b90182d28b2146deb31bd10c145f4 | |
| parent | 45a8b3ca5be842d85674b6e262cd5983a54a130e (diff) | |
| download | mal-daa1cf3fe5a23c087c87829bfebeeb01ac04911b.tar.gz mal-daa1cf3fe5a23c087c87829bfebeeb01ac04911b.zip | |
guide: typo.
| -rw-r--r-- | process/guide.md | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/process/guide.md b/process/guide.md index 51b4e96..5ac6d44 100644 --- a/process/guide.md +++ b/process/guide.md @@ -136,8 +136,11 @@ a textual diff/comparison tool to compare the previous pseudocode step with the one you are working on. The architecture images have changes from the previous step highlighted in red. -If you get stuck, find the same step or functionality in a different -implementation language. +If you get completely stuck and are feeling like giving up, then you +should "cheat" by referring to the same step or functionality in +a existing implementation language. You are here to learn, not to take +a test, so do not feel bad about it. Okay, you should feel a little +bit bad about it. ## The Make-A-Lisp Process @@ -172,9 +175,12 @@ This step is basically just creating a skeleton of your interpreter. language, then create a Makefile (or appropriate project definition file) in your directory. -Run your new program and make sure that it echos each line that you -type. Because step0 is so trivial, there are no automated tests to run -for it. +It is time to run your first tests. This will check that your program +does input and output in a way that can be captured by the test +harness. Go to the top level and run the following: +``` +make test^quux^step0 +``` Add and then commit your new `step0_repl.qx` and `Makefile` to git. @@ -468,7 +474,7 @@ You now have a simple prefix notation calculator! In step 2 you were already introduced to REPL environment (`repl_env`) where the basic numeric functions were stored and looked up. In this step you will add the ability to create new environments (`let*`) and -modify exiting environments (`def!`). +modify existing environments (`def!`). A Lisp environment is an associative data structure that maps symbols (the keys) to values. But Lisp environments have an additional important |
