Syllabus
Lexical Analysis: Techniques for tokenizing input code. Syntax Analysis: Parsing strategies to understand code structure. Semantic Analysis: Ensuring code adheres to language rules. Intermediate Code Generation: Translating source code into an intermediate representation. Optimization: Enhancing the intermediate code for performance. Code Generation: Producing machine-level code for execution. Run-Time Systems: Managing resources during program execution.
Text Books
- A. V. Aho, M. S. Lam, R. Sethi, and J. D. Ullman, Compilers: Principles, Techniques, and Tools, 2nd ed. Boston, MA, USA: Pearson/Addison Wesley, 2006.
- K. D. Cooper and L. Torczon, Engineering a Compiler, 2nd ed. San Francisco, CA, USA: Morgan Kaufmann, 2011.
- A. W. Appel, Modern Compiler Implementation in C, Cambridge, U.K.: Cambridge University Press, 1998.
- S. S. Muchnick, Advanced Compiler Design and Implementation, San Francisco, CA, USA: Morgan Kaufmann, 1997.
- T. Parr, The Definitive ANTLR 4 Reference, 2nd ed. Raleigh, NC, USA: Pragmatic Bookshelf, 2013.
- M. L. Scott, Programming Language Pragmatics, 4th ed. Burlington, MA, USA: Morgan Kaufmann, 2015.
