
apply_macros.plThe following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
expand_phrase(+PhraseGoal, -Goal) is semidet
expand_phrase(+PhraseGoal, +Pos0, -Goal, -Pos) is semidetFor example:
?- expand_phrase(phrase(("ab", rule)), List), Goal).
Goal = (List=[97, 98|_G121], rule(_G121, [])).
expand_phrase(+PhraseGoal, -Goal) is semidet
expand_phrase(+PhraseGoal, +Pos0, -Goal, -Pos) is semidetFor example:
?- expand_phrase(phrase(("ab", rule)), List), Goal).
Goal = (List=[97, 98|_G121], rule(_G121, [])).
apply_macros_sentinelapply_macros is set to imported.