1 / 5

CS603 Programming Language Organization

CS603 Programming Language Organization. Lecture 14 Spring 2003 Department of Computer Science. Overview. Questions µ-Scheme Operational Semantics Conclusion µ-Scheme Interpreter Reading for next time. µ-Scheme Interpreter. Like Impcore, eval and topeval

gaskell
Télécharger la présentation

CS603 Programming Language Organization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS603 Programming Language Organization • Lecture 14 • Spring 2003 • Department of Computer Science

  2. Overview • Questions • µ-Scheme Operational Semantics Conclusion • µ-Scheme Interpreter • Reading for next time

  3. µ-Scheme Interpreter • Like Impcore, eval and topeval • Like Impcore, arguments match operational semantics • eval(Exp *e, Env *env) 106a • topeval(Toplevel *t, Env *env, int echo) 111d

  4. • Write sequence of code chunk numbers for: (val zero? ((curry =) 0)) • Write sequence of code chunk numbers for: (zero? 0) µ-Scheme Interpreter Pair Up: • Write sequence of code chunk numbers for: (define curry (f) (lambda (x) (lambda (y) (f x y)))

  5. Reading for Next Time • Sections 3.15

More Related