dcg

Prolog files

basics.pl  -- Various general DCG utilitiesShow source
high_order.pl  -- High order grammar operationsShow source
foreach/4Generate a list from the solutions of Generator.Source
foreach/5Generate a list from the solutions of Generator.Source
optional/4Perform an optional match, executing Default if Match is not matched.Source
sequence/4Match or generate a sequence of Element.Source
sequence/5Match or generate a sequence of Element where each pair of elements is separated by Sep.Source
sequence/7Match or generate a sequence of Element enclosed by Start end End, where each pair of elements is separated by Sep.Source