Purpose
The purpose of compiling Prolog code to the more low-level WAM code is to make subsequent interpretation of the Prolog program more efficient. Prolog code is reasonably easy to translate to WAM instructions which can be more efficiently interpreted. Also, subsequent code improvements and compilation to native code are often easier to perform on the more low-level representation.
Read more about this topic: Warren Abstract Machine
Famous quotes containing the word purpose:
“Men may construe things after their fashion,
Clean from the purpose of the things themselves.”
—William Shakespeare (15641616)
“Civilization is a process in the service of Eros, whose purpose is to combine single human individuals, and after that families, then races, peoples and nations, into one great unity, the unity of mankind. Why this has to happen, we do not know; the work of Eros is precisely this.”
—Sigmund Freud (18561939)
“And the purpose of the many stops and starts will be made clear:
Backing into the old affair of not wanting to grow
Into the night, which becomes a house, a parting of the ways
Taking us far into sleep. A dumb love.”
—John Ashbery (b. 1927)