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:
“Certain books seem to have been written not for the purpose that we learn something from them but that we know that the author was a knowledgeable person.”
—Johann Wolfgang Von Goethe (17491832)
“I dont like to be idle; in fact, I often feel somewhat guilty unless there is some purpose to what I am doing. But spending a few hoursor a few daysin the woods, swamps or alongside a stream has never seemed to me a waste of time.... I derive special benefit from a period of solitude.”
—Jimmy Carter (James Earl Carter, Jr.)
“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)