AutoGen: AutoGen Functions

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

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

This document was generated by Bruce Korb on October 24, 2004 using texi2html