ZebFront#

Description#

This command runs a file through the pre-processor ZebFront to compile .z files (e.g. material behavior plugins). Normally the program will not be used directly by the end-user, but rather as part of a generated makefile or development project.

Syntax#

% ZebFront [options] file.z

Options

DESCRIPTION

-o <output_file>

specify output filename (otherwise output is to stdout)

-d

run ZebFront in the gdb debugger

-od

‘original debug’ where syntax errors are referenced w.r.t the generated .c

-g

run using debug version (if available)

-h

print help

The -od switch can be used to debug ZebFront program compilations. By default ZebFront re-assigns line numbers to the corresponding number in the .z file, and the .c. C++ source is removed after successful compilation. Because many lines are added to the resulting C++ file, there is a possibility that syntax errors are first referenced in the generated code. This method of compiling will leave the .c file, and error messages from the compiler will refer to that file.