next up previous contents
Next: 6.1.1 Definition of a Up: 6 CASE Tools Previous: 6 CASE Tools

6.1 Universal Function Generator

  UNFUG allows to generate code or text by a template/tuple approach. This CASE tool can be used from within VMake by using the Unfug-Target (see Unfug-Target).

The placeholders in the template file are replaced by values. An UNFUG expression in the template file is recognized either as

  1. a simple expression with a single word between < and >,
  2. a complex expression with a LISP expression (with braces) between < and >.
The simple expression is just evaluated as a variable or as a LISP function without parameter if it is bound, else the expression remains unevaluated in the output stream. Complex expressions are always evaluated as functions with the given parameters. If the result of the evaluation is a LISP string, the string is copied to the output. All other values are ignored.





IUE WWW server
Fri Jan 3 17:00:13 MET 1997