Review for the Midterm. - PowerPoint PPT Presentation

About This Presentation
Title:

Review for the Midterm.

Description:

Review for the Midterm. Overview (Chapter 1): What are the phases in a compiler? What do we do in each phase? Review for the Midterm. Lexical analyzer (chapter 3) ... – PowerPoint PPT presentation

Number of Views:13
Avg rating:3.0/5.0
Slides: 4
Provided by: xyu
Learn more at: http://www.cs.fsu.edu
Category:
Tags: midterm | review

less

Transcript and Presenter's Notes

Title: Review for the Midterm.


1
  • Review for the Midterm.
  • Overview (Chapter 1)
  • What are the phases in a compiler?
  • What do we do in each phase?

2
  • Review for the Midterm.
  • Lexical analyzer (chapter 3)
  • Regular expression definition
  • Use regular expression to express an pattern
  • How to recognize regular expression?
  • NFA
  • DFA
  • minimize the DFA

3
  • Review for the Midterm.
  • Syntax analysis (chapter 4)
  • context free grammar
  • use it to specify a language
  • top-down parsing
  • LL(1) (What is an LL(1) grammar?)
  • How an LL(1) parser works?
  • How to construct an LL(1) parsing table for a
    grammar.
  • (First, Follow)
  • Bottom parsing
  • SLR, LR(1), LALR
  • How an LR(1) parser works
  • How to construct an SLR/LR(1)/LALR(1) parsing
    table?
  • What are the major differences among these
    parsers?
Write a Comment
User Comments (0)
About PowerShow.com