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:
“Science and art, or by the same token, poetry and prose differ from one another like a journey and an excursion. The purpose of the journey is its goal, the purpose of an excursion is the process.”
—Franz Grillparzer (17911872)
“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)
“I dont like to be idle; in fact, I often feel somewhat guilty unless there is some purpose to what I am doing. But spending a few hoursor a few daysin the woods, swamps or alongside a stream has never seemed to me a waste of time.... I derive special benefit from a period of solitude.”
—Jimmy Carter (James Earl Carter, Jr.)