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 todays 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
The book is nice in the sense that it presents good ideas in a simpler way on an advanced topic. The bad is that it's not exactly about how to build a parser from the ground up. It's more about how to use the author's toolkit to produce one. So it's more useful to readers who want to build a simple scripting language than it is for readers wanting to actually build a parser.