This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

6.001 Recitation 20Structure and Interpretation of Computer Programs April 22, 2005The Meta-Circular Evaluator1. eval and applyeval : expression, environment → valueapply : procedure, arguments → value2. meval and mapplyTrace out the execution of meval and mapply on the following expressions.m-eval m-applyExpression EnvProcedure Args(define z (+ 1 3)) GE(define mult (lambda (x y) (* x y))) GE(mult z 3) GE3. DesugaringWrite the let desugarer.( d e f i n e ( let∗ − >l e t exp )16.001 Structure and Interpretation of Computer Programs The Meta-Circular Evaluator4. Evaluator piecesWrite the set! evaluator procedure.( d e f i n e ( e va l− s et ! exp env )5. BrainteaserWrite the named-let desugarer.( d e f i n e (


View Full Document

MIT 6 001 - rec20

Documents in this Course
Quiz 1

Quiz 1

6 pages

Databases

Databases

12 pages

Quiz II

Quiz II

15 pages

Streams

Streams

5 pages

Load more
Download rec20
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view rec20 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view rec20 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?