Skip to main content
Version: 0.5.0

Command Line Tools

Usage​

Set up a Lingua Franca project by putting your program in a file with the .lf extension, such as Example.lf and putting that file with a directory called src. Then compile the program:

$ lfc src/Example.lf

This will create two directories in parallel with the src directory, src-gen and bin. If your target language is a compiled one (like C and C++), then the bin directory should contain an executable that you can run:

$ bin/Example

To see the options that can be given to lfc, get help:

$ lfc --help