Engineering PapersโŒ• Search

NASA NTRS ยท 19930074153

A Prolog Emulator

Abstract

This note describes an efficient software emulator for the Warren Abstract Machine (WAM) Prolog architecture. The version of the WAM implemented is called Lcode. The Lcode emulator, written in C, executes the 'naive reverse' benchmark at 3900 LIPS. The emulator is one of a set of tools used to measure the memory-referencing characteristics and performance of Prolog programs. These tools include a compiler, assembler, and memory simulators. An overview of the Lcode architecture is given here, followed by a description and listing of the emulator code implementing each Lcode instruction. This note will be of special interest to those studying the WAM and its performance characteristics. In general, this note will be of interest to those creating efficient software emulators for abstract machine architectures.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tick, Evan. 1987-05-01. A Prolog Emulator. https://ntrs.nasa.gov/citations/19930074153

Cite the original work for its findings. Save a collection to share your selection of sources.