Apr03 - CSE262: Programming Languages Instructor: Dr. Liang...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: CSE262: Programming Languages Instructor: Dr. Liang Cheng Department of Computer Science and Engineering P.C. Rossin College of Engineering & Applied Science Lehigh University April 3, 2007 Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/03/07 Outline Recap Implementing subprogram (Chapter 10) Summary and homework Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/03/07 Chapter 10 Topics The general semantics of calls and returns Implementing simple subprograms Implementing subprograms with stack- dynamic local variables Nested subprograms Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/03/07 Implementing Dynamic Scoping: Deep Access Variable references are found by searching ARIs on the dynamic chain or call chain Local variables can be accessed by the local offsets Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/03/07 Implementing Dynamic Scoping: Shallow Access Shallow access- put all locals in a central place One stack for each variable name Instructor: Dr. Liang ChengInstructor: Dr....
View Full Document

Page1 / 10

Apr03 - CSE262: Programming Languages Instructor: Dr. Liang...

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

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