Fly Command Guide - fly-lang/fly GitHub Wiki

Starting to compile your source file by specifying as a .fly file and optionally options and

fly <input> [options] [<output>]

This is the list of options:

-as          Produce assembly output
-bc          Produce bit code output
--help       Display available options
-ll          Produce LLVM IR code output
-no          Produce no output
--version    Print version information
-v           Show verbose output

Generate Object code

fly input.fly -o output.o

This will generates an object file with your source code compiled. If you don't specify the output it generates a file with the same name but different extension:

fly input.fly

Is equivalent to fly input.fly -o input.fly.o

Assembly code

fly input.fly -as -o output.as

It generates Assembly source code.

LLVM IR code

fly input.fly -ll -o output.ll

It generates LLVM IR source code. Here you can find more details about LLVM utilities

LLVM Bit Code

fly input.fly -bc -o output.bc

It generates LLVM Bit Code.

⚠️ **GitHub.com Fallback** ⚠️