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:
“No further evidence is needed to show that mental illness is not the name of a biological condition whose nature awaits to be elucidated, but is the name of a concept whose purpose is to obscure the obvious.”
—Thomas Szasz (b. 1920)
“The moment a mere numerical superiority by either states or voters in this country proceeds to ignore the needs and desires of the minority, and for their own selfish purpose or advancement, hamper or oppress that minority, or debar them in any way from equal privileges and equal rightsthat moment will mark the failure of our constitutional system.”
—Franklin D. Roosevelt (18821945)
“Happiness serves hardly any other purpose than to make unhappiness possible.”
—Marcel Proust (18711922)