PrologHub

DCGs provide a threading state abstraction: don't break it

2019-06-24
Paulo Moura

Definite Clause Grammars (DCGs) provide a useful threading state abstraction with countless applications in Logtalk and Prolog programming. But programmers sometimes break this abstraction without realizing it and for no benefit. This usually happens when ...


Visit website

Tags: dcg best-practices_1