Swedish Institute of Computer Science, Mats Carlsson
On Compiling Indexing and Cut for the WAM.
On Compiling Indexing and Cut for the WAM.Swedish Institute of Computer Science
Sign up to use
Swedish Institute of Computer Science, Mats Carlsson
On Compiling Indexing and Cut for the WAM.

On Compiling Indexing and Cut for the WAM.

Sign up to use
Sign up to use
There exist several proposals for the treatment of clause indexing in a compiler for the WAM. These are discussed, and a particular proposal is advocated, which postpones as long as possible the creation of choicepoints. We then address some problems with implementing the cut operator. Finally, it is shown how indexing instructions can subsume certain body goals.