Book Description
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.

Synopsis
Compilers are essential to computer programming. They translate statements made in a particular programming language into low-level machine code which the computer can understand. Compiling with C# and Java is a practical introduction to how this is achieved for stack machines such as the Java Virtual Machine (JVM) and.NET Common Language Runtime (CLR), and is ideal for students needing an introductory text on compilers or anyone with a general interest in the topic. Features*Highly practical approach, with many diagrams, examples and exercises to give the reader a genuine working knowledge of the concepts involved. *Case studies in C# and Java target the Java Virtual Machine (JVM) and.NET Common Language Runtime (CLR), two of the most contemporary and popular technologies. *Step-by-step progression, beginning with compiling a simple language subset and adding extra language features as the reader advances. *Uses Coco/R extensively - a versatile tool used in the construction of a wide range of syntax-directed applications. *Complete source code for all case studies is available on a support website (http://www booksites. net/terry). Pat Terry is a Professor in the Department of Computer Science at Rhodes University, South Africa, where he has been awarded the Vice-Chancellor's award for distinguished teaching.