|basics.pl -- Various general DCG utilities|
|alpha_to_lower/3||Read a letter (class |
alpha) and return it as a lowercase letter.
|atom/3||Generate codes of Atom.|
|blank/2||Take next |
space character from input.
|blanks/2||Skip zero or more white-space characters.|
|blanks_to_nl/2||Take a sequence of blank//0 codes if blanks are followed by a newline or end of the input.|
|csym/3||Recognise a C symbol according to the |
csym code type classification provided by the C library.
|float/3||Process a floating point number.|
|nonblank/3||Code is the next non-blank (|
|nonblanks/3||Take all |
|number/3||Generate extract a number.|
|prolog_var_name/3||Matches a Prolog variable name.|
|remainder/3||Unify List with the remainder of the input.|
|string/3||Take as few as possible tokens from the input, taking one more each time on backtracking.|
|string_without/4||Take as many codes from the input until the next character code appears in the list EndCodes.|
|white/2||Take next |
white character from input.
|whites/2||Skip white space inside a line.|
|xdigit/3||True if the next code is a hexdecimal digit with Weight.|
|xdigits/3||List of weights of a sequence of hexadecimal codes.|
|xinteger/3||Generate or extract an integer from a sequence of hexadecimal digits.|
|high_order.pl -- High order grammar operations|
|foreach/4||Generate a list from the solutions of Generator.|
|foreach/5||Generate a list from the solutions of Generator.|
|optional/4||Perform an optional match, executing Default if Match is not matched.|
|sequence/4||Match or generate a sequence of Element.|
|sequence/5||Match or generate a sequence of Element where each pair of elements is separated by Sep.|
|sequence/7||Match or generate a sequence of Element enclosed by Start end End, where each pair of elements is separated by Sep.|