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:
“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)
“Satire exists for the purpose of killing the social being [for the sake of] the true individual, the real human being.”
—D.H. (David Herbert)
“Possibly the Creator did not make the world chiefly for the purpose of providing studies for gifted novelists; but if he had done so, we can scarcely imagine that He could have offered anything much better in the way of material ...”
—Elizabeth Stuart Phelps (18441911)