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

14.3. Logikus Assemblers

From one point of view, Logikus is a computer language that lets its user model a problem in terms of facts and rules. Another perspective of Logikus is that it is only a thin skin over a logic engine, specifically the engine in sjm.engine. A review of the assemblers in sjm.examples.logic confirms the view that Logikus is quite close to the logic engine. Each of the assemblers in Figure 14.2 pushes an object from one of the classes in sjm.engine.

Figure 14.2. Logikus assemblers. The Logikus parser in sjm.examples.logic uses 11 assemblers, which collaborate in composing axioms from text that the parser recognizes.

Assembler ...

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