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:
“During the cattle drives, Texas cowboy music came into national significance. Its practical purpose is well knownit was used primarily to keep the herds quiet at night, for often a ballad sung loudly and continuously enough might prevent a stampede. However, the cowboy also sang because he liked to sing.... In this music of the range and trail is the grayness of the prairies, the mournful minor note of a Texas norther, and a rhythm that fits the gait of the cowboys pony.”
—Administration in the State of Texa, U.S. public relief program (1935-1943)
“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)
“For the purpose of knowledge, one must know how to use that inner current that draws us to a thing, and then the one that, after a time, draws us away from it.”
—Friedrich Nietzsche (18441900)