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

3.4 AutoGen Scheme Functions

AutoGen uses Guile to interpret Scheme expressions within AutoGen macros. All of the normal Guile functions are available, plus several extensions (see section 3.5 Common Scheme Functions) have been added to augment the repertoire of string manipulation functions and manage the state of AutoGen processing.

This section describes those functions that are specific to AutoGen. Please take note that these AutoGen specific functions are not loaded and thus not made available until after the command line options have been processed and the AutoGen definitions have been loaded. They may, of course, be used in Scheme functions that get defined at those times, but they cannot be invoked.

3.4.1 `ag-function?' - test for function  
3.4.2 `base-name' - base output name  
3.4.3 `count' - definition count  
3.4.4 `def-file' - definitions file name  
3.4.5 `dne' - "Do Not Edit" warning  
3.4.6 `error' - display message and exit  
3.4.7 `exist?' - test for value name  
3.4.8 `find-file' - locate a file in the search path  
3.4.9 `first-for?' - detect first iteration  
3.4.10 `for-by' - set iteration step  
3.4.11 `for-from' - set initial index  
3.4.12 `for-index' - get current loop index  
3.4.13 `for-sep' - set loop separation string  
3.4.14 `for-to' - set ending index  
3.4.15 `get' - get named value  
3.4.16 `high-lim' - get highest value index  
3.4.17 `last-for?' - detect last iteration  
3.4.18 `len' - get count of values  
3.4.19 `low-lim' - get lowest value index  
3.4.20 `match-value?' - test for matching value  
3.4.21 `out-delete' - delete current output file  
3.4.22 `out-depth' - output file stack depth  
3.4.23 `out-line' - output file line number  
3.4.24 `out-move' - change name of output file  
3.4.25 `out-name' - current output file name  
3.4.26 `out-pop' - close current output file  
3.4.27 `out-push-add' - append output to file  
3.4.28 `out-push-new' - purge and create output file  
3.4.29 `out-resume' - resume current output file  
3.4.30 `out-suspend' - suspend current output file  
3.4.31 `out-switch' - close and create new output  
3.4.32 `set-option' - Set a command line option  
3.4.33 `set-writable' - Make the output file be writable  
3.4.34 `stack' - make list of AutoGen values  
3.4.35 `suffix' - get the current suffix  
3.4.36 `tpl-file' - get the template file name  
3.4.37 `tpl-file-line' - get the template file and line number  
3.4.38 `make-header-guard' - make self-inclusion guard  `make-header-guard' - protect a header file
3.4.39 `autogen-version' - autogen version number  `autogen-version' - "5.5.5"


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

This document was generated by Bruce Korb on June 4, 2003 using texi2html

Viewable With Any Browser   AutoGen Home