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 population is not ultimately peopling earth. It is to fill heaven.”
—Graham D. Leonard (b. 1921)
“War is in truth a disease in which the juices that serve health and maintenance are used for the sole purpose of nourishing something foreign, something at odds with nature.”
—Johann Wolfgang Von Goethe (17491832)
“I have sought his aidbut if after endeavoring to do my best in the light which he affords me, I find my efforts fail, I must believe that for some purpose unknown to me, He wills it otherwise.”
—Abraham Lincoln (18091865)