Download the Command Line Tools
The command-line compiler
lfc can be installed in any directory, but it will be most convenient if add its directory to your
PATH environment variable.
To download the current development version of the command-line tools instead of the latest release, replace the following tar and zip files with those from the nightly build.
Linux and macOS
Download lfc 0.4.0 for Linux/Mac and run:
Download lfc 0.4.0 for Windows and run:
unzip lf-cli-0.4.0.zip .\lf-cli-0.4.0\bin\lfc.ps1 --version
Clone the repository using one of
Then build using
Note: The Gradle build also performs tests, which takes a long time.
The comnand-line tools will then be in a directory
Using the Command Line Tools
Set up a Lingua Franca project by putting your program in a file with the
Example.lf and putting that file with a directory called
Then compile the program:
This will create two directories in parallel with the
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:
To see the options that can be given to
lfc, get help:
If you have installed the developer setup by cloning the GitHub repository, then there are a number of other command-line tools available in the