- parsing// is semidet
- True if DCG is operating as a parser. Specifically,
the DCG list is not a variable.
- eos//
- True if DCG list is at its end.
- end_of_line//
- True if list is at the end of a line. This could be either
a newline character or the end of input. It prefers a newline character.
- codes(?Codes:list)//
- Take as few characters as possible, more on backtracking.
- rest_of_line(?Line:list)//
- Line is all characters before a newline or end of stream. Newline
character is left on the stream.
- prefer_none(:Rule)//
- True if DCG Rule matches. When parsing, Rule may matches as many
times as possible. When generating, Rule matches 0 times.
- prefer_one(:Rule)//
- True if DCG Rule matches. When parsing, Rule may matches as many
times as possible. When generating, Rule matches 1 time.
- when_generating(:Goal)//
- Call Goal when DCG operates in generator mode.
- when_parsing(:Goal)//
- Call Goal when DCG operates in parsing mode.
- format(+Pattern, +Args)//
- Generate format/2 output onto DCG list.