Normal view MARC view ISBD view

Modern compiler implementation in Java / Andrew W. Appel with Jens Palsberg.

By: Appel, Andrew W, 1960- [author.].
Contributor(s): Palsberg, Jens [author.].
Material type: materialTypeLabelBookPublisher: Cambridge : Cambridge University Press, 2002Edition: 2nd ed.Description: 1 online resource (x, 501 pages) : digital, PDF file(s).Content type: text Media type: computer Carrier type: online resourceISBN: 9780511811432 (ebook).Subject(s): Compilers (Computer programs) | Java (Computer program language)Additional physical formats: Print version: : No titleDDC classification: 005.4/53 Online resources: Click here to access online
Contents:
Fundamentals of Compilation: Introduction -- Lexical analysis -- Parsing -- Abstract syntax -- Semantic analysis -- Activation records -- Translation to intermediate code -- Basic blocks and traces -- Instruction selection -- Liveness analysis -- Register allocation -- Putting it all together -- Advanced Topics: Garbage collection -- Object-oriented languages -- Functional programming languages -- Polymorphic types -- Dataflow analysis -- Loop optimizations -- Static single-assignment form -- Pipelining and scheduling -- The memory hierarchy -- Appendix: Mini-Java reference manual.
Summary: This textbook describes all phases of a compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as the compilation of functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described concisely, rather than as an exhaustive catalog of every possible variant, and illustrated with actual Java classes. This second edition has been extensively rewritten to include more discussion of Java and object-oriented programming concepts, such as visitor patterns. A unique feature is the newly redesigned compiler project in Java, for a subset of Java itself. The project includes both front-end and back-end phases, so that students can build a complete working compiler in one semester.
    average rating: 0.0 (0 votes)
No physical items for this record

Title from publisher's bibliographic system (viewed on 18 Jul 2016).

Fundamentals of Compilation: Introduction -- Lexical analysis -- Parsing -- Abstract syntax -- Semantic analysis -- Activation records -- Translation to intermediate code -- Basic blocks and traces -- Instruction selection -- Liveness analysis -- Register allocation -- Putting it all together -- Advanced Topics: Garbage collection -- Object-oriented languages -- Functional programming languages -- Polymorphic types -- Dataflow analysis -- Loop optimizations -- Static single-assignment form -- Pipelining and scheduling -- The memory hierarchy -- Appendix: Mini-Java reference manual.

This textbook describes all phases of a compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as the compilation of functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described concisely, rather than as an exhaustive catalog of every possible variant, and illustrated with actual Java classes. This second edition has been extensively rewritten to include more discussion of Java and object-oriented programming concepts, such as visitor patterns. A unique feature is the newly redesigned compiler project in Java, for a subset of Java itself. The project includes both front-end and back-end phases, so that students can build a complete working compiler in one semester.

There are no comments for this item.

Log in to your account to post a comment.