Prof. Douglas Thain's course introduction covers the fundamentals of
compiler and language design. This book starts with a quick tour of compiler
concepts, then proceeds into careful sections on scanning and parsing, practical
parsing techniques, generation of abstract syntax trees, semantic analysis, and
intermediate representations. Moreover, it demonstrates the memory organization,
assembly language, code generation, and optimization. Any student who requires a
detailed view of both theory and practice in compiler design will find this
resource helpful.
Author(s): Prof. Douglas Thain, University of
Notre Dame
This note explains the following topics, lexical analysis, Syntax analysis and run time environments, Intermediate code generation, Code generation and code optimization.
This note covers the design and implementation of compiler and runtime systems for highlevel languages, and examines the interaction between language design, compiler design, and runtime organization. Topics covered includes, lexical and syntactic analysis, typechecking, program analysis, code generation and optimization, memory management, and runtime organization.