15-317 Constructive Logic
Lecture 19: Metainterpreters

In this lecture we describe two interpreters for a Prolog-like fragment of logic in a Prolog-like metalanguage. Actually, we are slightly more abstract, but the specifications of the operational semantics of Horn logic can easily be transcribed into Prolog. In the first step, we use backtracking in the metalanguage to model backtracking in the object language. In a second, slightly lower-level interpreter we make this explicit, arriving at a form of abstract machine.


[ Home | Schedule | Assignments | Handouts | Software ]

fp@cs
Frank Pfenning