Assignment 6

    1. Do exercise 8.6. Note that you're using the syntax of the language of your choice, but imagining that the language uses each of these parameter passing modes. You'll need to read section 8.3.2 (Call-by-Name) from the book's virtual "CD", which is the file 8d_clbnm.pdf in the data/chapters directory of the CD zip file.

    2. Do exercise 9.21.

    3. Do exercise 10.6. Your versions should also be in Scheme. The repl.it Scheme interpreter calls integer division div instead of quotient.

    4. Explain the exception-handling mechanism in your pet language, with an example. (If your language has no special mechanism for this, explain what a programmer would do to, e.g., let a file-reading subroutine to recover from a missing file.

    5. Does your pet language have more than one sense of equality? Explain, with examples.

What to Hand In

All of the above, in a single Google word processing document a6.