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:
“What if we fail to stop the erosion of cities by automobiles?... In that case America will hardly need to ponder a mystery that has troubled men for millennia: What is the purpose of life? For us, the answer will be clear, established and for all practical purposes indisputable: The purpose of life is to produce and consume automobiles.”
—Jane Jacobs (b. 1916)
“Our policy is directed not against any country or doctrine, but against hunger, poverty, desperation and chaos. Its purpose should be the revival of a working economy in the world so as to permit the emergence of political and social conditions in which free institutions can exist.”
—George Marshall (18801959)
“Language, the machine of the poet, is best fitted for his purpose in its rudest state. Nations, like individuals, first perceive, and then abstract. They advance from particular images to general terms. Hence the vocabulary of an enlightened society is philosophical, that of a half-civilised people is poetical.”
—Thomas Babington Macaulay (18001859)