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:
“I have no purpose to introduce political and social equality between the white and black races. There is a physical difference between the two, which, in my judgement, will probably for ever forbid their living together upon the footing of perfect equality; and inasmuch as it becomes a necessity that there must be a difference, I ... am in favour of the race to which I belong having the superior position.”
—Abraham Lincoln (18091865)
“In using the strong hand, as now compelled to do, the government has a difficult duty to perform. At the very best, it will by turns do both too little and too much. It can properly have no motive of revenge, no purpose to punish merely for punishments sake. While we must, by all available means, prevent the overthrow of the government, we should avoid planting and cultivating too many thorns in the bosom of society.”
—Abraham Lincoln (18091865)
“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.)