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:
“Of what significance the light of day, if it is not the reflection of an inward dawn?to what purpose is the veil of night withdrawn, if the morning reveals nothing to the soul? It is merely garish and glaring.”
—Henry David Thoreau (18171862)
“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)
“To every thing there is a season, and a time to every purpose under the heaven:
A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted;”
—Bible: Hebrew Ecclesiastes (l. III, 12)