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:
“I have always felt that the real purpose of government is to enhance the lives of people and that a leader can best do that by restraining government in most cases instead of enlarging it at every opportunity.”
—Gerald R. Ford (b. 1913)
“Rule of religion: purpose breathes even in dirt and stones.”
—Mason Cooley (b. 1927)
“Most Americans are born drunk, and really require a little wine or beer to sober them. They have a sort of permanent intoxication from within, a sort of invisible champagne.... Americans do not need to drink to inspire them to do anything, though they do sometimes, I think, need a little for the deeper and more delicate purpose of teaching them how to do nothing.”
—Gilbert Keith Chesterton (18741936)