ERRATA SHEET 5/11/98 Appleby/VandeKopple. PROGRAMMING LANGUAGES: PARADIGM AND PRACTICE, 2e McGraw-Hill, 1997. These errors will have been corrected in the 2nd printing of PL:PP. Most corrections appear below the statement which includes an error, e.g., ( | ) //statement with error | //corrected statement pg# 17 (0.4.10) ( | ) | (0.4.11) () 110 ::= < | | = | | > | ::= < | <= | = | >= | > | /= 144 EXERCISES 3.5.6 Figure 3.5.4 should be Figure 3.5.3 235 EXERCISES 5.4.1.b. Delete the question: "Is it possible for a philosopher...?" 256 (6.1.5) (S0 T B R S4) (S0 T B R S3) 259 Sentence preceding (6.1.8): ...generated by the regular grammar... ...generated by concatenating words of the regular grammar... Preceding (6.1.9), add: Here delta represents a space. 5th line from bottom of the page: is accepted by TM(CWL). is not accepted by TM(CWL). 260 EXERCISE 6.1.5.b S2 should be S1 6.1.5.c S4 should be S3, S2 should be S1 6.1.5.d S1 should be S0, S4 should be S3 6.1.7 "is accepted" should be "is not accepted". 278 EXERCISE 6.3.1 generated from a context-free grammar (CFG) generated from a regular grammar. 6.3.2.a (n 3) (n k) (n <= 3) (n <= k) 290 Sentence before (7.1.9) Delete the word "twice" 366 (8.5.5) last line: to-polar(plus-rect(to-rect((r1,a1)),to-rect(r2,a2)); to-polar(plus-rect(to-rect(r1,a1),to-rect(r2,a2))); 403 EXERCISE A.7.c ((All X)(Exists Y)p(Y,X,f(X,Y)) OR ~(All Y)q(X,f(Y)) ((All X)(Exists Y)p(Y,X,f(X,Y))) OR ~(All Y)q(X,f(Y)) EXERCISE A.7.d ((All X)(Exists Y)p(Y,X,f(X,Y)) OR ~(All Y)q(X,f(Y))) (All X)(Exists Y)p(Y,X,f(X,Y)) OR ~(All Y)q(X,f(Y))) EXERCISE A.7.e ((All X)(Exists Y)p(Y,X,f(X,Y)) OR ~(All Y)q(X,f(Y))) ((All X)(Exists Y)p(Y,X,f(X,Y)) OR ~(All Y)q(X,f(Y)))) ----------------------------------------------------------------------- INSTRUCTOR'S MANUAL Cover: The MANUAL was prepared by both authors, Doris Appleby and Julius J. VandeKopple. v. 3rd paragraph. The lab files are not located at the McGraw-Hill (mhhe.com) site, but can be downloaded from the authors' site as listed on p. vi: http://www.marymt.edu/~vandekop/plpp/labfiles.html 25 EXERCISES 5.4.1.b Delete this answer if you deleted the question on p. 235 of PL:PP.