A Simple Transformation from Prolog-written Metalevel Interpreters into Compilers and its Implementation.

Gustaf Neumann · WU Research · 1991

In this paper we describe a grammar formalism for program transformation and its implementation in Prolog. Whereas Definite Clause Grammars are merely working on a string of tokens the formalism presented here acts on semantic items such as Prolog literals. This grammar will be used to implement a very compact form of a compiler generator that transforms solve-like interpreters into compilers. Finally the compiler generator will be applied on itself to obtain a more efficient version of the compiler generator.

Read the paper · More papers on PaperTik