lecture 12 -- Letrec

lecture 12 -- Letrec - LETREC Extend the environment...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
11/22/2010 1 T. METIN SEZGIN NOV 10 2010 Lecture 12 LETREC PROC is ex; long live LETREC PROC had its limitations No recursive procedures Define a language with recursive procedures Specification Syntax Semantics Representation Implementation LETREC The idea The new grammar
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: LETREC Extend the environment recursively How should environment lookup work? If the search variable matches a recursive procedure If there is no match Extended environment Example 11/22/2010 2 Example cont. The new environment and apply-env...
View Full Document

Page1 / 2

lecture 12 -- Letrec - LETREC Extend the environment...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online