Skip to content
acharal edited this page Jun 4, 2012 · 2 revisions

Warren Abstract Machine is a efficient way to compile PROLOG programs to stock hardware.

This is a simple implementation of first-order PROLOG programs and output the compiled program as WAM instructions. A runtime of wam instructions is also provided.

The implementation supports the below optimizations:

  • Tail recursion
  • Unsafe variables
  • Specific commands for lists and constants

References

Clone this wiki locally