Programming Language Processors in Java Compilers and Interpreters

ISBN-10: 0130257869
ISBN-13: 9780130257864
Edition: 2000
List price: $120.20
30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy

Description: A gently-paced introduction to designing and building compilers using the object-oriented programming language Java, this book features examples in Java and a complementary working compiler and interpreter that are provided via the Internet.

what's this?
Rush Rewards U
Members Receive:
coins
coins
You have reached 400 XP and carrot coins. That is the daily max!
You could win $10,000

Get an entry for every item you buy, rent, or sell.

Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
SQL Online content $4.95 $1.99
Add to cart
Study Briefs
MS Excel® 2010 Online content $4.95 $1.99
Add to cart
Study Briefs
MS Word® 2010 Online content $4.95 $1.99
Add to cart
Study Briefs
MS PowerPoint® 2010 Online content $4.95 $1.99

Customers also bought

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Book details

List price: $120.20
Copyright year: 2000
Publisher: Prentice Hall PTR
Publication date: 2/4/2000
Binding: Hardcover
Pages: 436
Size: 7.50" wide x 9.75" long x 1.00" tall
Weight: 2.2
Language: English

A gently-paced introduction to designing and building compilers using the object-oriented programming language Java, this book features examples in Java and a complementary working compiler and interpreter that are provided via the Internet.

Preface
Introduction
Levels of programming language
Programming language processors
Specification of programming languages
Syntax
Contextual constraints
Semantics
Case study: the programming language Triangle
Further reading
Exercises
Language Processors
Translators and compilers
Interpreters
Real and abstract machines
Interpretive compilers
Portable compilers
Bootstrapping
Bootstrapping a portable compiler
Full bootstrap
Half bootstrap
Bootstrapping to improve efficiency
Case study: the Triangle language processor
Further reading
Exercises
Compilation
Phases
Syntactic analysis
Contextual analysis
Code generation
Passes
Multi-pass compilation
One-pass compilation
Compiler design issues
Case study: the Triangle compiler
Further reading
Exercises
Syntactic Analysis
Subphases of syntactic analysis
Tokens
Grammars revisited
Regular expressions
Extended BNF
Grammar transformations
Starter sets
Parsing
The bottom-up parsing strategy
The top-down parsing strategy
Recursive-descent parsing
Systematic development of a recursive-descent parser
Abstract syntax trees
Representation
Construction
Scanning
Case study: syntactic analysis in the Triangle compiler
Scanning
Abstract syntax trees
Parsing
Error handling
Further reading
Exercises
Contextual Analysis
Identification
Monolithic block structure
Flat block structure
Nested block structure
Attributes
Standard environment
Type checking
A contextual analysis algorithm
Decoration
Visitor classes and objects
Contextual analysis as a visitor object
Case study: contextual analysis in the Triangle compiler
Identification
Type checking
Standard environment
Further reading
Exercises
Run-Time Organization
Data representation
Primitive types
Records
Disjoint unions
Static arrays
Dynamic arrays
Recursive types
Expression evaluation
Static storage allocation
Stack storage allocation
Accessing local and global variables
Accessing nonlocal variables
Routines
Routine protocols
Static links
Arguments
Recursion
Heap storage allocation
Heap management
Explicit storage deallocation
Automatic storage deallocation and garbage collection
Run-time organization for object-oriented languages
Case study: the abstract machine TAM
Further reading
Exercises
Code Generation
Code selection
Code templates
Special-case code templates
A code generation algorithm
Representation of the object program
Systematic development of a code generator
Control structures
Constants and variables
Constant and variable declarations
Static storage allocation
Stack storage allocation
Procedures and functions
Global procedures and functions
Nested procedures and functions
Parameters
Case study: code generation in the Triangle compiler
Entity descriptions
Constants and variables
Further reading
Exercises
Interpretation
Iterative interpretation
Iterative interpretation of machine code
Iterative interpretation of command languages
Iterative interpretation of simple programming languages
Recursive interpretation
Case study: the TAM interpreter
Further reading
Exercises
Conclusion
The programming language life cycle
Design
Specification
Prototypes
Compilers
Error reporting
Compile-time error reporting
Run-time error reporting
Efficiency
Compile-time efficiency
Run-time efficiency
Further reading
Exercises
Projects with the Triangle language processor
Appendices
Answers to Selected Exercises
Informal Specification of the Programming Language Triangle
Introduction
Commands
Expressions
Value-or-variable names
Declarations
Parameters
Type-denoters
Lexicon
Programs
Description of the Abstract Machine TAM
Storage and registers
Instructions
Routines
Class Diagrams for the Triangle Compiler
Compiler
Abstract syntax trees
Commands
Expressions
Value-or-variable names
Declarations
Parameters
Type-denoters
Terminals
Syntactic analyzer
Contextual analyzer
Code generator
Bibliography
Index

×
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.

×