Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Extended DCG notation

Book ·
OSTI ID:5016204
This paper describes a preprocessor that simplifies purely applicative programming in Prolog. The preprocessor generalizes Prolog's Definite Clause Grammar (DCG) notation to allow programming with multiple accumulators. It has been an indispensable tool in the development of an optimizing Prolog compiler. Its use is transparent in versions of Prolog that conform to the Edinburgh standard. This paper contains a description of the preprocessor, a user manual, a large example program, and the source code of the preprocessor. This information is also available by anonymous ftp to arpa berkeley edu.
OSTI ID:
5016204
Country of Publication:
United States
Language:
English