Warren Abstract Machine - Purpose

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:

    “To every thing there is a season, and a time to every purpose under the heaven:
    A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted;”
    —Bible: Hebrew Ecclesiastes (l. III, 1–2)

    “I have never doubted your courage and devotion to the cause. But you have just lost a Division, and prima facie the fault is upon you; and while that remains unchanged, for me to put you in command again, is to justly subject me to the charge of having put you there on purpose to have you lose another.”
    —Abraham Lincoln (1809–1865)

    “Man, her last work, who seemed so fair,
    Such splendid purpose in his eyes,
    Who rolled the psalm to wintry skies,
    Who built him fanes of fruitless prayer,

    Who trusted God was love indeed
    And love Creation’s final law—
    Though Nature, red in tooth and claw
    With ravine, shrieked against his creed—”
    —Alfred Tennyson (1809–1892)