Next: native macros, Previous: AutoGen Functions, Up: Template File [Contents][Index]
This section describes a number of general purpose functions that make the kind of string processing that AutoGen does a little easier. Unlike the AutoGen specific functions (see AutoGen Functions), these functions are available for direct use during definition load time. The equality test (see SCM =) is “overloaded” to do string equivalence comparisons. If you are looking for inequality, the Scheme/Lisp way of spelling that is, “(not (= ...))”.
• SCM agpl | agpl - GNU Affero General Public License | |
• SCM bsd | bsd - BSD Public License | |
• SCM c-string | c-string - emit string for ANSI C | |
• SCM error-source-line | error-source-line - display of file & line | |
• SCM extract | extract - extract text from another file | |
• SCM format-arg-count | format-arg-count - count the args to a format | |
• SCM fprintf | fprintf - format to a file | |
• SCM gperf | gperf - perform a perfect hash function | |
• SCM gperf-code | gperf-code - emit the source of the generated gperf program | |
• SCM gpl | gpl - GNU General Public License | |
• SCM hide-email | hide-email - convert eaddr to javascript | |
• SCM html-escape-encode | html-escape-encode - encode html special characters | |
• SCM in? | in? - test for string in list | |
• SCM join | join - join string list with separator | |
• SCM kr-string | kr-string - emit string for K&R C | |
• SCM lgpl | lgpl - GNU Library General Public License | |
• SCM license | license - an arbitrary license | |
• SCM license-description | license-description - Emit a license description | |
• SCM license-full | license-full - Emit the licensing information and description | |
• SCM license-info | license-info - Emit the licensing information and copyright years | |
• SCM license-name | license-name - Emit the name of the license | |
• SCM make-gperf | make-gperf - build a perfect hash function program | |
• SCM makefile-script | makefile-script - create makefile script | |
• SCM max | max - maximum value in list | |
• SCM min | min - minimum value in list | |
• SCM prefix | prefix - prefix lines with a string | |
• SCM printf | printf - format to stdout | |
• SCM raw-shell-str | raw-shell-str - single quote shell string | |
• SCM shell | shell - invoke a shell script | |
• SCM shell-str | shell-str - double quote shell string | |
• SCM shellf | shellf - format a string, run shell | |
• SCM sprintf | sprintf - format a string | |
• SCM string-capitalize | string-capitalize - capitalize a new string | |
• SCM string-capitalize! | string-capitalize! - capitalize a string | |
• SCM *=* | string-contains-eqv? - caseless substring | |
• SCM *==* | string-contains? - substring match | |
• SCM string-downcase | string-downcase - lower case a new string | |
• SCM string-downcase! | string-downcase! - make a string be lower case | |
• SCM *~ | string-end-eqv-match? - caseless regex ending | |
• SCM *~~ | string-end-match? - regex match end | |
• SCM *= | string-ends-eqv? - caseless string ending | |
• SCM *== | string-ends-with? - string ending | |
• SCM == | string-equals? - string matching | |
• SCM ~ | string-eqv-match? - caseless regex match | |
• SCM = | string-eqv? - caseless match | |
• SCM *~* | string-has-eqv-match? - caseless regex contains | |
• SCM *~~* | string-has-match? - contained regex match | |
• SCM ~~ | string-match? - regex match | |
• SCM ~* | string-start-eqv-match? - caseless regex start | |
• SCM ~~* | string-start-match? - regex match start | |
• SCM =* | string-starts-eqv? - caseless string start | |
• SCM ==* | string-starts-with? - string starting | |
• SCM string-substitute | string-substitute - multiple global replacements | |
• SCM string-table-add | string-table-add - Add an entry to a string table | |
• SCM string-table-add-ref | string-table-add-ref - Add an entry to a string table, get reference | |
• SCM string-table-new | string-table-new - create a string table | |
• SCM string-table-size | string-table-size - print the current size of a string table | |
• SCM string->c-name! | string->c-name! - map non-name chars to underscore | |
• SCM string->camelcase | string->camelcase - make a string be CamelCase | |
• SCM string-tr | string-tr - convert characters with new result | |
• SCM string-tr! | string-tr! - convert characters | |
• SCM string-upcase | string-upcase - upper case a new string | |
• SCM string-upcase! | string-upcase! - make a string be upper case | |
• SCM sub-shell-str | sub-shell-str - back quoted (sub-)shell string | |
• SCM sum | sum - sum of values in list | |
• SCM time-string->number | time-string->number - duration string to seconds | |
• SCM version-compare | version-compare - compare two version numbers |
Next: native macros, Previous: AutoGen Functions, Up: Template File [Contents][Index]