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:
“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)
“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)
“War is an ugly thing, but not the ugliest of things: the decayed and degraded state of moral and patriotic feeling which thinks nothing worth a war, is worse.... A war to protect other human beings against tyrannical injustice; a war to give victory to their own ideas of right and good, and which is their own war, carried on for an honest purpose by their own free choiceis often the means of their regeneration.”
—John Stuart Mill (18061873)