Join Books.org — it's free

Network Programming, Java (Programming Language)
Building Parsers With Java by Steven John Metsker β€” book cover

Building Parsers With Java

by Steven John Metsker
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

Overview

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

Synopsis

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

    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 constructan imperative language that translates text into commands that direct a sequence of actions

Booknews

Metsker (researcher and author, no university affiliation) shows how to create parsers that recognize custom programming languages. The book provides a tutorial on writing parsers, following the Interpreter Design Pattern. A demonstration on applying parsers is included, using about 100 short examples, UML diagrams, and a pure Java parser tool kit to illustrate key points. An accompanying CD contains all of the examples and the parser tool kit, including approximately 300 Java classes and their corresponding javadoc documentation. The CD also provides example programs for the new logic, query, and imperative languages that the book introduces. Annotation c. Book News, Inc., Portland, OR (booknews.com)

About the Author, Steven John Metsker

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



Reviews

There are no reviews yet. Log in to write one.

Editorials

Booknews

Metsker (researcher and author, no university affiliation) shows how to create parsers that recognize custom programming languages. The book provides a tutorial on writing parsers, following the Interpreter Design Pattern. A demonstration on applying parsers is included, using about 100 short examples, UML diagrams, and a pure Java parser tool kit to illustrate key points. An accompanying CD contains all of the examples and the parser tool kit, including approximately 300 Java classes and their corresponding javadoc documentation. The CD also provides example programs for the new logic, query, and imperative languages that the book introduces. Annotation c. Book News, Inc., Portland, OR (booknews.com)

In Building Parsers With JAVA, computer language expert Steven Metsker shows how to create parsers that recognize custom programming languages. Readers will learn how to design, code and test a working parser; how to create a parser to read data language; how to crate a new computer language; how to translate the design of language into code; how to accept an arithmetic formula and compute its result; how to build parsers for a custom query language going beyond SQL; and much, much more. The "user friendly" text is enhanced with an accompany CD-ROM containing all of the examples and the parser toolkit, including more than three hundred Java classes and their corresponding javadoc documentation. Also provided are example programs for the new logic, query, and imperative languages introduced in the text. Building Parsers With JAVA is an indispensable and highly recommended book/CD addition to the language programmer reference shelf.

Book Details

Published
March 1, 2001
Publisher
Addison-Wesley
Pages
400
Format
Paperback
ISBN
9780201719628

More by Steven John Metsker

Similar books