Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Homework 3 (Due

...

Friday 2/

...

5/

...

2010 at 11:00am)

Submit your .ss and .txt files via OWL-Space. You will need to use the "Intermediate Language Level" to do Problem 18.1.15. You may use this language for the entire assignment if you choose.

...

  • 17.7.1
    Note: Make sure you understand section 14.4 before working on this problem. Use
    this data definition as a starting point:
    Code Block
           ; expression
           ; An expression is one of:
           ; - a number
           ; - a symbol
           ; - (make-mul e1 e2) where e1 and e2 are expressions
           ; - (make-add e1 e2) where e1 and e2 are expressions
           
    You are required to extend this definition to include applications (that is,
    expressions like
    Code Block
    
    (* (f (+ 15 x)) (g x))
    ). Be sure to include a function
    template with your solution.

...