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:
“A major misunderstanding of child rearing has been the idea that meeting a childs needs is an end in itself, for the purpose of the childs mental health. Mothers have not understood that this is but one step in social development, the goal of which is to help a child begin to consider others. As a result, they often have not considered their children but have instead allowed their childrens reality to take precedence, out of a fear of damaging them emotionally.”
—Elaine Heffner (20th century)
“God sent children for another purpose than merely to keep up the raceto enlarge our hears; and to make us unselfish and full of kindly sympathies and affections; to give our souls higher aims; to call out all our faculties to extended enterprise and exertion; and to bring round our firesides bright faces, happy smiles, and loving, tender hearts.”
—Mary Botham Howitt (20th century)
“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)