Go to the first, previous, next, last section, table of contents.


Definite clause grammars (expansion)

Author(s): Daniel Cabeza.

Version: 1.11#87 (2003/12/21, 2:9:27 CET)

This module implements the Definite clause grammars (expansion).

Usage and interface (dcg_expansion)

Documentation on exports (dcg_expansion)

PREDICATE: phrase/2:

phrase(Phrase, List)

Like phrase(Phrase,List,[]).

Meta-predicate with arguments: phrase(goal,?).

PREDICATE: phrase/3:

Meta-predicate with arguments: phrase(goal,?,?).

Usage: phrase(Phrase, List, Remainder)

PREDICATE: dcg_translation/2:

Performs the code expansion of source clauses that use DCGs.


Go to the first, previous, next, last section, table of contents.