or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Compiling with C# and Java
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Compiling with C# and Java [Paperback]

Prof Pat D Terry
5.0 out of 5 stars  See all reviews (2 customer reviews)
RRP: £65.99
Price: £62.69 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £3.30 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually dispatched within 7 to 11 days.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details

  • Paperback: 624 pages
  • Publisher: Addison Wesley; 1 edition (28 Oct 2004)
  • Language English
  • ISBN-10: 032126360X
  • ISBN-13: 978-0321263605
  • Product Dimensions: 23 x 17.2 x 3.8 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 1,057,991 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Patrick D. Terry
Discover books, learn about writers, and more.

Visit Amazon's Patrick D. Terry Page

Product Description

Product 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.

From the Back Cover

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.

 


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
Format:Paperback
The author starts out explaining the concept of a virtual machine, and then he defines his own called PVM. PVM will later be used as the target of his first language called Parva, which is essentially a subset of C# and Java.
Then he explains grammers and how they are used to define the syntax of computer languages. He touches on BNF and EBNF, and then he presents a lot of helpful exercises. This is perhaps the hardest section of the book for newbies to understand, and it would help a lot if you've had some exposure to grammers and BNF before, or perhaps you are taking a college class where the instructor can help you with some of these concepts.
Next you get a explanation of Parva, and there is code to compile this language in C# and Java downloadable from the author's website. Even if you don't have much interest in this simple C-like language, please do read these chapters carefully. The author explains how compilers work using Parva as the model language. He also offers attributes to the grammer that help in semantic analysis and code generation.
The book finishes up by defining the C# Minor language, which in an OOP language that is a subset of C# (and not much different from Java either). There are different challenges in compiling an OOP language, so this is an interesting and highly useful look at these more advanced concepts used in today's compilers. The C# Minor language targets both the .NET CLR and the Java Virtual Machine.
Most of the code is written is a manner that is common to both C# and Java. His use of the Coco/R parser generator lets him focus on the more vital areas of defining the syntax and semantics, and code generation. This is a heavy book that will help you understand what happens under the hood, and it has value even if you don't want to design your own compiler!
Comment | 
Was this review helpful to you?
0 of 3 people found the following review helpful
Excellent book. 22 Dec 2006
Format:Paperback
I bought this books b/c I want to write a parser.

The book is very clear and had the best balance between theory and practice.

Some suggestions for the author: rewrite the c# and java classes adopting good programming pratices, ie.: using C#/Java built-in documenting, dividing the code in more classes and so on.

But these are minor details.
Comment | 
Was this review helpful to you?
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges