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:
“Possibly the Creator did not make the world chiefly for the purpose of providing studies for gifted novelists; but if he had done so, we can scarcely imagine that He could have offered anything much better in the way of material ...”
—Elizabeth Stuart Phelps (18441911)
“Since I do purpose to marry, I will think nothing to any purpose that
the world can say against it; and therefore never flout at me for what I have said against it; for man is a giddy thing, and this is my conclusion.”
—William Shakespeare (15641616)
“But this fully answered Johns purpose toward Betty, for as she did not understand, she highly admired him; and he concluded by again repeating that learning was a fine thing for a man but twas both useless and blameworthy for a woman either to write or read.”
—Sarah Fielding (17101768)