A clear andpowerfulformalism for describing languages, both natural and artificial, follows f iom a method for expressing grammars in logic due to Colmerauer and Kowalski. This formalism, which is a natural extension o f context-free grammars, we call "definite clause grammars" (DCGs). A DCG provides not only a description of a language, but also an effective means for analysing strings o f tha...