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:
“To found a great empire for the sole purpose of raising up a people of customers, may at first sight appear a project fit only for a nation of shopkeepers. It is, however, a project altogether unfit for a nation of shopkeepers, but extremely fit for a nation that is governed by shopkeepers.”
—Adam Smith (17231790)
“The purpose of a work of fiction is to appeal to the lingering after-effects in the readers mind as differing from, say, the purpose of oratory or philosophy which respectively leave people in a fighting or thoughtful mood.”
—F. Scott Fitzgerald (18961940)
“To me the sole hope of human salvation lies in teaching Man to regard himself as an experiment in the realization of God, to regard his hands as Gods hand, his brain as Gods brain, his purpose as Gods purpose. He must regard God as a helpless Longing, which longed him into existence by its desperate need for an executive organ.”
—George Bernard Shaw (18561950)