12.1 Engines versus Interpreters

Building Parsers with Java
By Steven  John  Metsker

Table of Contents
Chapter  12.   Engines


In some contexts, especially logic programming, the word interpreter describes what this book calls an engine. In this same context the word interpreter may also refer to the combination of the engine and the parser that accepts a programmer's commands. This book uses engine rather than interpreter to refer specifically to the object that can sift through data looking for matches to a query.

Another reason this book avoids the word interpreter is that the interpreter pattern, as [Gamma et al.] document it, associates interpreters with languages. The engine that this book develops is language-independent, and it does not follow the interpreter pattern.

For these reasons, this book describes the object that powers logic and query languages as an engine.


Building Parsers with Java
Building Parsers With Javaв„ў
ISBN: 0201719622
EAN: 2147483647
Year: 2000
Pages: 169

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net