COURSE NUMBER AND TITLE: CSCI 4800 Compiler Writing

CREDIT HOURS: 3

CATALOG DESCRIPTION: An examination of compiler techniques used in generating machine code. Topics covered include scanning and parsing, code generating, optimization and error recovery. Programming projects in compiler construction.

PREREQUISITE(S): CSCI 3370 and CSCI 3500, both with C or better

SUGGESTED TEXT: Compiler Design and Construction, Pyster

COURSE OUTLINE:

  • Components of a compiler
  • Grammars
  • LR parsing
  • Action and goto tables
  • Stage 1 compiler: program syntax and data declarations
  • Stage 2 compiler: input, output
  • Stage 3 compiler: assignment statements
  • Stage 4 compiler: selection and iteration