|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
There are several methods for including dynamic content inside a definitions
file. Three of them are mentioned above (Shell Output String and
see section Scheme Result String) in the discussion of string formation rules.
Another method uses the
#shell processing directive.
It will be discussed in the next section (see section Controlling What Gets Processed).
Guile/Scheme may also be used to yield to create definitions.
When the Scheme expression is preceded by a backslash and single quote, then the expression is expected to be an alist of names and values that will be used to create AutoGen definitions.
This method can be be used as follows:
\'( (name (value-expression)) (name2 (another-expr)) )
This is entirely equivalent to:
name = (value-expression); name2 = (another-expr);
Under the covers, the expression gets handed off to a Guile function
alist->autogen-def in an expression that looks like this:
(alist->autogen-def ( (name (value-expression)) (name2 (another-expr)) ) )
This document was generated by Bruce Korb on August 30, 2014 using texi2html 1.82.