30 likes | 157 Views
Lecture # 2. Topics Discussed in Class. Section 1.1: Introduction to Compilers Analysis Synthesis Model Section 1.2: Lexical Analysis (Also called Scanning), Syntax Analysis, Semantic Analysis Section 1.3: The phases of Compiler (complete).
E N D
Topics Discussed in Class • Section 1.1: Introduction to Compilers Analysis Synthesis Model • Section 1.2: Lexical Analysis (Also called Scanning), Syntax Analysis, Semantic Analysis • Section 1.3: The phases of Compiler (complete)
Section 1.4: Cousins of Compiler • Interpreters: discussed in detail in first lecture • Preprocessors: They produce input for the compiler. They perform jobs such as deleting comments, include files, perform macros etc. • Assemblers: They are translators for Assembly language. Sometimes the compiler will generate assembly language in symbolic form then hand it over to assemblers. • Linkers: Both compilers and assemblers rely on linkers to collect code separately compiled or assembled in object file into a file that is directly executable. • Loaders: It resolves all relocatable addresses to base address