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. | |
digit/3 | Number processing. | |
digits/3 | Number processing. | |
eos/2 | Matches end-of-input. | |
float/3 | Process a floating point number. | |
integer/3 | Number processing. | |
nonblank/3 | Code is the next non-blank (graph ) character. | |
nonblanks/3 | Take all graph characters. | |
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. | |