Introduction to Compiler Design [electronic resource] / by Torben Ægidius Mogensen.
By: Mogensen, Torben Ægidius [author.].
Contributor(s): SpringerLink (Online service).
Material type: BookSeries: Undergraduate Topics in Computer Science: Publisher: Cham : Springer International Publishing : Imprint: Springer, 2024Edition: 3rd ed. 2024.Description: XXII, 287 p. 139 illus. online resource.Content type: text Media type: computer Carrier type: online resourceISBN: 9783031464607.Subject(s): Compilers (Computer programs) | Compilers and InterpretersAdditional physical formats: Printed edition:: No title; Printed edition:: No titleDDC classification: 005.45 Online resources: Click here to access onlineLexical analysis -- Syntax analysis.-Scopes and symbol tables -- Interpretation -- Type checking.-Intermediate-code generation -- Machine-code generation -- Register allocation -- Functions -- Data-flow analysis and optimisation -- Optimisation for loops -- More language features -- Set notation and concepts -- Index.
The third edition of this textbook has been fully revised and adds material about the SSA form, polymorphism, garbage collection, and pattern matching. It presents techniques for making realistic compilers for simple to intermediate-complexity programming languages. The techniques presented in the book are close to those used in professional compilers, albeit in places slightly simplified for presentation purposes. "Further reading" sections point to material about the full versions of the techniques. All phases required for translating a high-level language to symbolic machine language are covered, and some techniques for optimising code are presented. Type checking and interpretation are also included. Aiming to be neutral with respect to implementation languages, algorithms are mostly presented in pseudo code rather than in any specific language, but suggestions are in many places given for how these can be realised in different language paradigms. Depending on how much of the material from the book is used, it is suitable for both undergraduate and graduate courses for introducing compiler design and implementation. .
There are no comments for this item.