next up previous contents
Next: An Optimix Specification Up: General Topics Previous: Where to put a

Running the preprocessor optimix2ast from shell


\begin{examplefoot}shell>> optimix2ast [options] filenames
shell>> optimix2ast [...
... generated file(s).
-o <file> output file name (- for stdout)
\end{examplefoot}

optimix2ast is a preprocessor that transforms OPTIMIX data specifications in the extended AST syntax to pure AST syntax. It transforms all functor fields to AST scalar fields with opaque pointer types. optimix2ast can be used as standalone command (line 1). Then the standard output files of optimix2ast are the file names appended with the suffix -AST. It may also read its input form a pipe (line 2). Then the output defaults to stdout.



Uwe Assmann
1998-12-22