Skip to main content

Flow-Wing Compiler Help

The Flow-Wing CLI provides several options for compiling and managing your Flow-Wing programs. This page documents the available options, including example commands.

Options and Descriptions

OptionDescription
--version, -VPrints the current version of the Flow-Wing compiler.
--file, -FSpecify a file to compile with --file=<filename.fg/filePath.fg>.
--format, -FMOutputs the result in a more readable format.
--format-print, -FMPPrints the output to the console in a more readable format.
--out, -OSpecify the output file with --out=<filename.fg>.
--code, -CPass code directly as input with --code=<code>.
-O0No optimization.
-O1Optimize for speed.
-O2Further optimize for speed.
-O3Full optimization.
-LSpecify the path to library directories.
-lSpecify libraries to link with.
--frameworkSpecify frameworks to link with.
-eSpecify the entry point function.
--help, -hDisplays the help page for the Flow-Wing CLI.
--serverInclude the Flow-Wing Vortex Server library with --server.
--linker-warningsEnable linker warnings during compilation.

Example Usage

Here are some example commands using the Flow-Wing CLI:

Printing Version

flowwing --version