Feb06 - CSE302: Compiler Design Instructor: Dr. Liang Cheng...

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

View Full Document Right Arrow Icon
CSE302: Compiler Design Instructor: Dr. Liang Cheng Department of Computer Science and Engineering Lehigh University February 06, 2007
Background image of page 1

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

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE302: Compiler Design 02/06/07 Outline ± Recap ± Symbol tables (Section 2.7) ± Lexical analysis (Chapter 3) ± Summary and homework
Background image of page 2
Instructor: Dr. Liang Cheng CSE302: Compiler Design 02/06/07 Symbol Tables ± Hold info of source program constructs ± Collected during analysis ± Used for synthesis ± Support multiple declarations of the same identifier within a program ± A separate symbol table for each scope ± A program block ± A class
Background image of page 3

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

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE302: Compiler Design 02/06/07 Outline ± Recap ± Lexical analysis in a nutshell ± Overview ± Regular expressions ± Finite automata ± Implementation of a scanner ± Summary and homework
Background image of page 4
Instructor: Dr. Liang Cheng CSE302: Compiler Design 02/06/07 Overview ± Pattern matching between ± Input: characters in a source file ± Output: tokens based on theories of regular expressions and finite automata lexical analyzer parser symbol table source program token get next token
Background image of page 5

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

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/06/2008 for the course CSE 302 taught by Professor Cheng during the Spring '07 term at Lehigh University .

Page1 / 18

Feb06 - CSE302: Compiler Design Instructor: Dr. Liang Cheng...

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