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


Definite clause grammars (expansion)

Author(s): Daniel Cabeza.

Version: 1.9#302 (2004/2/16, 18:48:1 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.