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)
“There are a sort of men whose visages
Do cream and mantle like a standing pond,
And do a willful stillness entertain,
With purpose to be dressed in an opinion
Of wisdom, gravity, profound conceit,
As who should say, I am Sir Oracle,
And when I ope my lips let no dog bark!”
—William Shakespeare (15641616)
“Happiness serves hardly any other purpose than to make unhappiness possible.”
—Marcel Proust (18711922)