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

13.1. The Role of Logic Languages

Developers vary in their enthusiasm for logic languages. One author of a book about the logic language Prolog claims that Prolog is able to provide a better solution to the problem that object orientation was designed to solve. This seems to suggest that Prolog is more powerful than Java—a difficult view to defend. Although it is unlikely that a logic language will displace Java, there is strong evidence that logic languages can augment Java.

The primary motivation for creating a logic language is to let your users program using rules. By incorporating a logic language in a system, you can bring rules to the surface, where a logic programmer can manipulate them directly. In practice, that logic programmer may ...

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