O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Parsing a Query Language

This chapter shows how to create a parser for a query language. A query language parser translates textual queries into calls to an engine. Commercial databases send queries to an engine that comes with the database product. Instead of using a commercial engine, this chapter uses the logic engine developed in Chapter 12. The engine proves the query against a data source and returns successful proofs as the result of the query. For its examples this chapter uses Jaql, a query language created for this book.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required