Addison-Wesley / Prentice Hall
Computer Science
Browse available resources for Computer Science:
- Select a resource
- Resources for Computer Science GOAL where virtual office hours are 24/7! Your Own TA, Just a Click Away! Deitel Resource Centers National Center for Women & Information Technology View material from Search Engines: Information Retrieval in Practice VideoNotes Andrew Tanenbaum Flame Award Recipient Custom Programs Instructor Resource Center myPearsonStore

ISBN-10: 0201719622
ISBN-13: 9780201719628
Publisher: Addison-Wesley Professional
Copyright: 2001
Format: Paper; 400 pp
Published: 03/26/2001
Suggested retail price: $49.99
Buy from myPearsonStore
No programming language can solve every problem, but Java can be extended to solve a far wider range of problems through the use of parsers -- "mini-languages" that bridge the gap between humans and computers, and offer targeted solutions for specific problem domains. In Building Parsers with JavaTM, Steven John Metsker presents the first complete, start-to-finish guide to building parsers with Java.KEY TOPICS:Metsker first explains what a parser is, introduces the building blocks of applied parsers, shows how to compose new parsers from existing ones; and walks step-by-step through designing, coding, and testing a working parser. Next, he presents in-depth coverage of creating Java-based parsers for a wide range of problem domains. You'll learn how to create parsers that can read elements of a data language; how to transform a grammar, ensuring the correct behavior of operators in a language; how to build arithmetic and regular expression parsers, and more. Metsker shows how to extend existing parser toolkits, and introduces a logic engine that can be used in a wide range of parsers, including both logic and query languages.MARKET:For any developer who is comfortable with Java and wishes to extend it to solve specific sets of problems far more effectively.
(NOTE: Each chapter concludes with a Summary.)
Foreword.
Preface.
1. Introduction.
2. The Elements of a Parser.
3. Building a Parser.
4. Testing a Parser.
5. Parsing Data Languages.
6. Transforming a Grammar.
7. Parsing Arithmetic.
8. Parsing Regular Expressions.
9. Advanced Tokenizing.
10. Matching Mechanics.
11. Extending the Parser Toolkit.
12. Engines.
13. Logic Programming.
14. Parsing a Logic Language.
15. Parsing a Query Language.
16. Parsing an Imperative Language.
17. Directions.
Appendix A: UML Twice Distilled.
References.
Index.
Steven John Metsker is a Managing Consultant with Dominion Digital, an information technology and business process reengineering company. Steve specializes in object-oriented techniques for creating clean, powerful software, and he is the author of Building Parsers with Java™, Design Patterns Java™ Workbook, and Design Patterns in C# (all from Addison-Wesley).
Parser building is a powerful programming technique that opens a world of opportunity for designing how users interact with applications. By creating mini-languages, you can precisely address the requirements of your application development domain. Writing your own parsers empowers you to access a database more effectively than SQL to efficiently control the movement of an order through its workflow, to command the actions of a robot, and to control access privileges to transactions in a system. The repertoire of today's professional programmer should include the know-how to create custom languages.
Building Parsers with Java shows how to create parsers that recognize custom programming languages. This book and its accompanying CD provide an in-depth explanation and clearly written tutorial on writing parsers, following the Interpreter Design Pattern. An easy-to-follow demonstration on how to apply parsers to vital development tasks is included, using more than a hundred short examples, numerous UML diagrams, and a pure Java parser toolkit to illustrate key points.
You will learn- How to design, code, and test a working parser
- How to create a parser to read a data language, and how to create new computer languages with XML
- How to translate the design of a language into code
- How to accept an arithmetic formula and compute its result
- How to accept and apply matching expressions like th* one
- How to use tokenizers to define a parser in terms of logical nuggets instead of individual characters
- How to build parsers for a custom logic language like Prolog
- How to build parsers for a custom query language that goes beyond SQL
- How to construct an imperative language that translates text into commands that direct a sequence of actions
0201719622B04062001
Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, contact your Pearson Higher Education representative for pricing and ordering information.
Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, browse our available packages below, or contact your Pearson Higher Education representative to create your own package.
- Package ISBN-10: 0321267257 | ISBN-13: 9780321267252
©2001 | Instock | Suggested retail price: $94.51 | Buy from myPearsonStore
This package contains: - Building Parsers With Java™, 1/E
Metsker | ©2001 | Addison-Wesley Professional | Paper; 400 pages - Program Development in Java: Abstraction, Specification, and Object-Oriented Design, 1/E
Liskov & Guttag | ©2001 | Addison-Wesley Professional | Cloth; 464 pages

