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