Introduction to Compiler Construction in a Java World

Author: Bill Campbell
Publisher: CRC Press
ISBN: 1482215071
Format: PDF, Docs
Download Now
Immersing students in Java and the Java Virtual Machine (JVM), Introduction to Compiler Construction in a Java World enables a deep understanding of the Java programming language and its implementation. The text focuses on design, organization, and testing, helping students learn good software engineering skills and become better programmers. The book covers all of the standard compiler topics, including lexical analysis, parsing, abstract syntax trees, semantic analysis, code generation, and register allocation. The authors also demonstrate how JVM code can be translated to a register machine, specifically the MIPS architecture. In addition, they discuss recent strategies, such as just-in-time compiling and hotspot compiling, and present an overview of leading commercial compilers. Each chapter includes a mix of written exercises and programming projects. By working with and extending a real, functional compiler, students develop a hands-on appreciation of how compilers work, how to write compilers, and how the Java language behaves. They also get invaluable practice working with a non-trivial Java program of more than 30,000 lines of code. Fully documented Java code for the compiler is accessible at http://www.cs.umb.edu/j--/

Compiler

Author: Alfred V. Aho
Publisher: Pearson Deutschland GmbH
ISBN: 9783827370976
Format: PDF, Docs
Download Now

Compiling with C and Java

Author: Pat Terry
Publisher: Pearson Education
ISBN: 9780321263605
Format: PDF, Kindle
Download Now
A compiler is a special program that processes statements in a particular programming language and turns them into machine code that the computer can understand. Compiling with C# and Java is an introduction to compiler construction using the Java Virtual Machine (JVM) and .NET Common Language Routine (CLR), both of which provide the interface between compiler, C# or Java code, and hardware. Loaded with exercises, examples and case studies, the text balances theory and practice to provide the reader with a solid working knowledge of the subject.