March 2001
Intermediate to advanced
400 pages
8h 35m
English
All the code for the engine described in this chapter lies within the package sjm.engine. In this package, there is no Engine class; instead, there are a few collaborating classes that together produce an engine. The essential classes that make up the engine are Structure, Variable, Rule, and Program. The classes Structure and Variable are the fundamental building blocks of the engine. Classes Program and Rule are aggregations; a Program object is an aggregation of Rule objects, and a Rule object is an aggregation of Structure objects. You'll visit all these classes, starting with the fundamentals shown in Figure 12.1.
Read now
Unlock full access