typo, clarifications

This commit is contained in:
Peter Fidelman 2022-05-22 10:31:38 -07:00
parent 2ab3f07cd5
commit 084a708813
2 changed files with 7 additions and 7 deletions

View file

@ -31,7 +31,7 @@ Let's explain how it works.
LINE 1 : rdup r> r> dup >r >r >r ; LINE 1 : rdup r> r> dup >r >r >r ;
LINE 2 : rdrop r> r> drop >r ; LINE 2 : rdrop r> r> drop >r ;
LINE 3 : loop[ [ ' setup lit ] , [ ' rdrop lit ] , ; immediate LINE 3 : loop[ [ ' rdup lit ] , [ ' rdrop lit ] , ; immediate
LINE 4 : ]loop latest @ 8 + , ; immediate LINE 4 : ]loop latest @ 8 + , ; immediate
Line 1-4 are defining a new loop construct called loop[ ... ]loop that Line 1-4 are defining a new loop construct called loop[ ... ]loop that

View file

@ -645,8 +645,8 @@ const PRIMITIVES: [Primitive; 16] = [
/* You now have an unfamiliar computer with no software. Can you and the /* You now have an unfamiliar computer with no software. Can you and the
* computer write a program? * computer write a program?
* *
* The first program is the hardest to write because you don't have any tools to * The first program is the hardest to write because you don't have any tools
* help write it. The computer itself is going to be no help. Without any * to help write it. The computer itself is going to be no help. Without any
* program it will sit there doing nothing. * program it will sit there doing nothing.
* *
* What should the first program be? * What should the first program be?
@ -2206,10 +2206,10 @@ fn main() {
/* Now we can start programming in "real" Forth, not a weird macro language /* Now we can start programming in "real" Forth, not a weird macro language
* inside Rust. * inside Rust.
* *
* You can compile this Forth with: * You can compile our Forth computer with:
* rustc frustration.rs * rustc frustration.rs
* *
* You can run this Forth with: * You can run our Forth computer with:
* ./frustration * ./frustration
* *
* However, I recommend loading a Forth program (frustration.4th, provided) * However, I recommend loading a Forth program (frustration.4th, provided)
@ -2225,6 +2225,6 @@ fn main() {
* *
* bash build.sh * bash build.sh
* *
* Please read frustration.4th if you want to learn more about Forth and what * Please read frustration.4th if you want to learn more about how to
* makes it a unique language. * use Forth.
*/ */