Buy Used
Used - Good See details
$8.97 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $0.61 Gift Card
Trade in
Have one to sell? Sell yours here
Constructing Language Processors for Little Languages
 
 
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.

Constructing Language Processors for Little Languages [Paperback]

Randy M. Kaplan (Author)
3.8 out of 5 stars  See all reviews (4 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $41.53  
Paperback, August 15, 1994 --  

Book Description

0471597546 978-0471597544 August 15, 1994 1
A step-by-step tutorial to developing a language processor for a ``little language'' which can be used on any platform including DOS. The view is towards applying language processor techniques, using them across diverse languages and providing procedures for designing programming languages. Details how to build a compiler for a little language that you can design, along with numerous examples of code to demonstrate how to implement your own language processor. Disk with interpreter and utilities developed in the book is available separately or in a set.


Editorial Reviews

From the Publisher

A step-by-step tutorial to developing a language processor for a ``little language'' which can be used on any platform including DOS. The view is towards applying language processor techniques, using them across diverse languages and providing procedures for designing programming languages. Details how to build a compiler for a little language that you can design, along with numerous examples of code to demonstrate how to implement your own language processor. Disk with interpreter and utilities developed in the book is available separately or in a set.

Product Details

  • Paperback: 452 pages
  • Publisher: Wiley; 1 edition (August 15, 1994)
  • Language: English
  • ISBN-10: 0471597546
  • ISBN-13: 978-0471597544
  • Product Dimensions: 9.1 x 7.3 x 1.1 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Best Sellers Rank: #1,703,774 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

4 Reviews
5 star:    (0)
4 star:
 (3)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (4 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

64 of 64 people found the following review helpful:
4.0 out of 5 stars A good first step, April 20, 1999
By A Customer
This review is from: Constructing Language Processors for Little Languages (Paperback)
This is a good, basic, "gateway" book on compiler and interpreter design and implementation. It can easily provide the reader with the basic concepts of this tricky topic in a way that will allow the reader to move on to more complicated materials.

Having taken a compiler construction class in college using "Compilers : Principles, Techniques, and Tools", I can say that this book is much easier to understand and I wish we had spent the first 2-3 weeks of the course covering the material therein.

If you are new to compiler construction or are interested in producing a simple interpreter, this book is for you. If you already consider yourself well read in compiler technology, this book may be of questionable value.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


34 of 34 people found the following review helpful:
3.0 out of 5 stars Good (perhaps the best) but not great, May 19, 2002
By 
A Williams "honestpuck" (Neutral Bay, NSW Australia) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: Constructing Language Processors for Little Languages (Paperback)
Learning how to build good interpreters and compilers is not easy. For a self-taught programmer such as myself it is a hard road with few lights for the path.

Certainly "Compilers: Principles, Techniques and Tools" (sometimes called the "dragon book") is far too complex for the beginner. You need something else first.

Kaplan has made a good effort, certainly for the beginner at this art I have found nothing better. While Mak's "Writing Compilers and Interpreter's" is in some ways a better book I don't like that he uses a top down parser, rather than a shift-reduce parser and doesn't explain why. Mak also relies too much on C++ and tackles a problem too large (A Pascal compiler)

Kaplan doesn't fall into any of those traps. He explains well all his decisions and uses methods that translate well into almost any language. He also devotes some space to yacc and lex - essential for those of us who want something a little easier than building the entire thing from the ground up. This book does, however, travel a little fast for some. The main failing is that Kaplan chooses a problem (manipulating images) where too much time is spent on things specific to the language and the end tool is not that useful to a lot of people. He also gets too complex too quickly.

This book will reward you with some effort on your part. I'd recommend it for anyone who wants to learn how best to define and build a small language who is prepared to do some work understanding the concepts.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
4.0 out of 5 stars Still very relevant and useful in 2007!, October 21, 2007
By 
Steve Wainstead (Jackson Heights, NY United States) - See all my reviews
This review is from: Constructing Language Processors for Little Languages (Paperback)
I've recently had the need to understand how lex and yacc work. I bought this book probably back in 1999 or so; it's sat on my book shelf ever since, having only gotten about three chapters into it.

Today I pulled it out for kicks, and was delighted to find chapter eight is all about lex and yacc; the first seven chapters lead the reader through the writing of a simple language parser for a language he calls "IML," or Image Manipulation Language. (Think a small database of meta information about a large collection of image files; the language lets you do various manipulations with those files).

Kaplan's writing style is very personal and conversational; the target audience is working programmers. This is always a great combination for programming books. Since the examples are all in standard C, it will be many more years before this book really becomes outdated. Sadly the code examples are on a floppy that comes with the book, so you better have a floppy drive!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews


Only search this product's reviews



Inside This Book (learn more)
First Sentence:
Little languages are different from traditional programming languages, and in this chapter I clarify the differences between them. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
image function table, yacc program, lex program, current program node, image variable name, car referent, list element structure, index element structure, int ival, bool view, abstract machine functions, yacc rule, lex language, iml program, token output file, referent element, parenthesis language, parenthesis causes, statement data structure, image connector, next sublist, image referent, lexical analyzer, program prologue, referent tree
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Hello World, Executing the Translated Program, Statement Functions, Other Issues, Formal Considerations, Computation Engines, Top-Down Analysis of the Parser, Adding Debugging Tools, Processing Trace of Parenthesis Language Sentence, The Structure of the Lexical Analyzer, The Structure of the Parser, Language Pattern Summary, Ravi Sethi
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject