[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

3.5 Common Scheme Functions

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 section AutoGen Scheme Functions), these functions are available for direct use during definition load time. The equality test (see section string-eqv?’ - caseless match) is “overloaded” to do string equivalence comparisons. If you are looking for inequality, the Scheme/Lisp way of spelling that is, “(not (= ...))”.

3.5.1 ‘agpl’ - GNU Affero General Public License
3.5.2 ‘bsd’ - BSD Public License
3.5.3 ‘c-string’ - emit string for ANSI C
3.5.4 ‘error-source-line’ - display of file & line
3.5.5 ‘extract’ - extract text from another file
3.5.6 ‘format-arg-count’ - count the args to a format
3.5.7 ‘fprintf’ - format to a file
3.5.8 ‘gperf’ - perform a perfect hash function
3.5.9 ‘gperf-code’ - emit the source of the generated gperf program
3.5.10 ‘gpl’ - GNU General Public License
3.5.11 ‘hide-email’ - convert eaddr to javascript
3.5.12 ‘html-escape-encode’ - encode html special characters
3.5.13 ‘in?’ - test for string in list
3.5.14 ‘join’ - join string list with separator
3.5.15 ‘kr-string’ - emit string for K&R C
3.5.16 ‘lgpl’ - GNU Library General Public License
3.5.17 ‘license’ - an arbitrary license
3.5.18 ‘license-description’ - Emit a license description
3.5.19 ‘license-full’ - Emit the licensing information and description
3.5.20 ‘license-info’ - Emit the licensing information and copyright years
3.5.21 ‘license-name’ - Emit the name of the license
3.5.22 ‘make-gperf’ - build a perfect hash function program
3.5.23 ‘makefile-script’ - create makefile script
3.5.24 ‘max’ - maximum value in list
3.5.25 ‘min’ - minimum value in list
3.5.26 ‘prefix’ - prefix lines with a string
3.5.27 ‘printf’ - format to stdout
3.5.28 ‘raw-shell-str’ - single quote shell string
3.5.29 ‘shell’ - invoke a shell script
3.5.30 ‘shell-str’ - double quote shell string
3.5.31 ‘shellf’ - format a string, run shell
3.5.32 ‘sprintf’ - format a string
3.5.33 ‘string-capitalize’ - capitalize a new string
3.5.34 ‘string-capitalize!’ - capitalize a string
3.5.35 ‘string-contains-eqv?’ - caseless substring
3.5.36 ‘string-contains?’ - substring match
3.5.37 ‘string-downcase’ - lower case a new string
3.5.38 ‘string-downcase!’ - make a string be lower case
3.5.39 ‘string-end-eqv-match?’ - caseless regex ending
3.5.40 ‘string-end-match?’ - regex match end
3.5.41 ‘string-ends-eqv?’ - caseless string ending
3.5.42 ‘string-ends-with?’ - string ending
3.5.43 ‘string-equals?’ - string matching
3.5.44 ‘string-eqv-match?’ - caseless regex match
3.5.45 ‘string-eqv?’ - caseless match
3.5.46 ‘string-has-eqv-match?’ - caseless regex contains
3.5.47 ‘string-has-match?’ - contained regex match
3.5.48 ‘string-match?’ - regex match
3.5.49 ‘string-start-eqv-match?’ - caseless regex start
3.5.50 ‘string-start-match?’ - regex match start
3.5.51 ‘string-starts-eqv?’ - caseless string start
3.5.52 ‘string-starts-with?’ - string starting
3.5.53 ‘string-substitute’ - multiple global replacements
3.5.54 ‘string-table-add’ - Add an entry to a string table
3.5.55 ‘string-table-add-ref’ - Add an entry to a string table, get reference
3.5.56 ‘string-table-new’ - create a string table
3.5.57 ‘string-table-size’ - print the current size of a string table
3.5.58 ‘string->c-name!’ - map non-name chars to underscore
3.5.59 ‘string->camelcase’ - make a string be CamelCase
3.5.60 ‘string-tr’ - convert characters with new result
3.5.61 ‘string-tr!’ - convert characters
3.5.62 ‘string-upcase’ - upper case a new string
3.5.63 ‘string-upcase!’ - make a string be upper case
3.5.64 ‘sub-shell-str’ - back quoted (sub-)shell string
3.5.65 ‘sum’ - sum of values in list
3.5.66 ‘time-string->number’ - duration string to seconds
3.5.67 ‘version-compare’ - compare two version numbers

[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents] [Index] [ ? ]

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.

AltStyle によって変換されたページ (->オリジナル) /