diff options
| author | Joel Martin <github@martintribe.org> | 2015-03-03 20:45:24 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-03-03 20:45:24 -0600 |
| commit | 58ba5af4704c4539ee7d3814dfeff8672577f86a (patch) | |
| tree | 39b2a3ab54c396db029d1f089cbe1e8fb3d5fc57 | |
| parent | 8a98ef9a3f3a6b6d05d02dc305a0c886c907e0f3 (diff) | |
| download | mal-58ba5af4704c4539ee7d3814dfeff8672577f86a.tar.gz mal-58ba5af4704c4539ee7d3814dfeff8672577f86a.zip | |
Integrate feedback from github.com/boxed
https://github.com/kanaka/mal/issues/19
| -rw-r--r-- | process/guide.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/process/guide.md b/process/guide.md index ef5e33d..df7eb5e 100644 --- a/process/guide.md +++ b/process/guide.md @@ -162,10 +162,11 @@ This step is basically just creating a skeleton of your interpreter. language is a statically typed) and `rep` calls them in order passing the return to the input of the next. -* Add a main loop that repeatedly prints a prompt, gets a line of - input from the user, calls `rep` with that line of input, and then - prints out the result from `rep`. It should also exit when you send - it an EOF (often Ctrl-D). +* Add a main loop that repeatedly prints a prompt (needs to be + "user> " for later tests to pass), gets a line of input from the + user, calls `rep` with that line of input, and then prints out the + result from `rep`. It should also exit when you send it an EOF + (often Ctrl-D). * If you are using a compiled (ahead-of-time rather than just-in-time) language, then create a Makefile (or appropriate project definition @@ -367,7 +368,7 @@ and each step will give progressively more bang for the buck. * keyword: just a string stored with unicode prefix (or char 127 if no unicode support). * vector: can be implemented with same underlying type as list if - there is some mechanism for marking/distringuishing from a list. + there is some mechanism for marking/distinguishing from a list. * hash-map: only need to implement string keys (which enables keyword keys since they are just special strings). |
