Flavorc Version 2.1 Command Line Reference

Usage

flavorc [options] input.fl

Options

-h or -?
Print a usage message.
 
-V
Print version information
 
-gc
Generate C++ code (default).
 
-gj
Generate Java code.
 
-n
Parse only; no code will be generated.
 
-p
Do not generate a put() method.
 
-g
Do not generate a get() method.
 
-o file
Set output file name. The default names are input.h for C++ and input.java for Java.
 
-t
Generate tracing code.
 
-a size
Set maximum array size. The default is 64, and will be automatically increased whenever the translator can detect it (when the array size is a constant expression).
 
-l
Suppress output of line number information for user code (verbatim sections).
 
-msvc
Generate Microsoft Visual C++-style error messages. This enables direct integration with the Microsoft Developer Studioo development environment.
 
-B string
Use string as the bitstream I/O class. The default is Bitstream.
 
-F string
Use string as a prefix for internal Flavor-generated variables. The default is _F_.
 
-E string
Use function string to report bitstream syntax errors. The default is flerror.
 
-T string
Use function string to create trace reports. The default is trace.
 
--
Suppress further command line options processing. This allows you to then use a file name that begins with a dash.