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:
“Our purpose in founding the city was not to make any one class in it surpassingly happy, but to make the city as a whole as happy as possible.”
—Socrates (469399 B.C.)
“In considering the policy to be adopted for suppressing the insurrection, I have been anxious and careful that the inevitable conflict for this purpose shall not degenerate into a violent and remorseless revolutionary struggle.”
—Abraham Lincoln (18091865)
“The chief want, in every State that I have been into, was a high and earnest purpose in its inhabitants. This alone draws out the great resources of Nature, and at last taxes her beyond her resources; for man naturally dies out of her.”
—Henry David Thoreau (18171862)