In this paper we present a clean implementation technique for functional/logic (or algebraic) programming languages. First we define an intermediate language to which a functional/logic program is compiled. In order to implement this intermediate language, we extend the Categorical Abstract Machine (CAM) by an additional data structure to handle logical variables and by a few instructions covering unification and backtracking. Finally, we show how the intermediate language is compiled into the instruction set of our Categorical Abstract Machine extension.
CITATION STYLE
Mück, A. (1992). CAMEL: An extension of the categorical abstract machine to compile functional/logic programs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 631 LNCS, pp. 341–354). Springer Verlag. https://doi.org/10.1007/3-540-55844-6_146
Mendeley helps you to discover research relevant for your work.