Prev Next Up Home Keys Figs Search New

A Grammatical View of Logic Programming

Appeared in Volume 7/1, February 1994

Keywords: grammars.

Pierre Deransart and Jan Maluszynski

Within the field of LP there have been numerous attempts to transform grammars into logic programs. This book describes a complementary approach that views logic programs as grammars and shows how this new presentation of the foundations of LP, based on the notion of proof trees, can enrich the field.

The authors' approach facilitates discussion of grammatical aspects of, and introduces new kinds of semantics for, definite programs. They survey relevant grammatical formalisms and provide a comprehensive introduction to the well-known attribute grammars and van Wijngaarden grammars. A formal comparison of definite programs to these grammars allows the authors to identify interesting grammatical concepts.

The book also includes a presentation of verification methods for definite programs derived from verification methods for attribute grammars, and an analysis of the occur-check problem as an example of how the grammatical view of LP can be applied.

Contents: Preliminaries. Foundations. Grammatical Extensions of Logic Programs. Attribute Grammars. Attribute Grammars and LP. Proof Methods. Study of Declarative Properties. The Occur-check Problem.

Logic Programming Series
November 1993; 420 pages; US$52.50
ISBN 0-262-04140-5 DERGH
Inquiries: mitpress-order-inq@mit.edu
Prev Next Up Home Keys Figs Search New