Extended DCG Notation: A Tool for Applicative Programming in Prolog
暂无分享,去创建一个
Abstract : This report 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 report contains a description of the preprocessor, a user manual, a large example program, and the source code of the preprocessor.
[1] David H. D. Warren,et al. Definite Clause Grammars for Language Analysis - A Survey of the Formalism and a Comparison with Augmented Transition Networks , 1980, Artif. Intell..
[2] Peter Van Roy,et al. An Intermediate Language to Support Prolog's Unification , 1989, NACLP.
[3] Fernando Pereira,et al. Extraposition Grammars , 1981, CL.