GordonCharlton / Quackery

a lightweight, open-source language for recreational and educational programming inspired by Forth and Lisp
http://rosettacode.org/wiki/Category:Quackery
34 stars 6 forks source link

errors in TBoQ #7

Closed dragoncoder047 closed 2 years ago

dragoncoder047 commented 2 years ago

page 28 - word named undeal, but subsequent paragraph says undealall

page 49 - says "build in data structure" - shouldn't it be "built in"?

also, if #6 is merged the errors on pages 33 and after will have to be fixed.

GordonCharlton commented 2 years ago

done, done and done. Pushing updated TBoQ now...

dragoncoder047 commented 2 years ago

Sorry to bother you again...

page 60: (pronounced meta-done”) missing open quote

page 61: second test of lights (to 5) still would print out There are four lights. shouldn't it be five?

page 101: the output of the takefile test isn't lined up with the ...s - looks as if there is a hidden 9 emit on each line (9 being tab)

GordonCharlton commented 2 years ago

Again thank you. Done, not done, done.

;-) IMG_0008

GordonCharlton commented 2 years ago

(Also, the ancillary stack lights still contains 4 at that point, so evaluating lights share 5 = ' [ say "There are four lights." cr ] 'if does not print "There are four lights." — it's illustrating that 'if does nothing if ToS is false.)

dragoncoder047 commented 2 years ago

Sorry for necroposting, found another error.

Page 11 - very bottom - you defined edges and then did 3 4 5 volume again.

GordonCharlton commented 2 years ago

Good catch. Thank you. Fixed.

dragoncoder047 commented 2 years ago

page 61 - ... lights share 5 = ' [... shouldn't the first prompt be /O>?

page 62 - missed 'jump'

As with 'if, we will start the definition with nested, not only for consistency, but because the nest it finds on the stack could have words like while and done in it, which rely on the end of the nest not having stuff arbitrarily added to it, as they jump right to the end of the nest, wherever it is.

GordonCharlton commented 2 years ago

Fixed, thank you.