maxrt101 / ff

Scripting language
MIT License
4 stars 0 forks source link
compiler cpp17 programming-language python3 scripting-language

FF Programing Language

build

About

ff is a general purpose scripting language with dynamic and gradual typing.
It was developed to be easily used within C++ applications (which also means bindings for other languages should be fairly easy to implement).

Building

Prerequisites:

Steps:

Executable will appear in target/release/bin, headers and libraries in target/release/include and target/release/lib respectively.

For more verbose output use -v
To see output of the commands, use -o

To make a debug build, use -p debug option, you can also provide a (comma separated) list of features with --feature FEATURES.
Supported features: LOG_STDOUT_ONLY.
Supported debug features: MEM, REF, EVAL, DISASM, TOKENS, TREE, TRACE, SCOPES, GLOBALS, NOCATCH.

Build system keeps track of changed source files, and on subsequent builds will only recompile files that have changed. To force recompilation of everything, use -f flag.

Tests:

To run tests execute ./make.py test (or directly with ./tests/run.sh)
Usage of run.sh: ./tests/run.py [OPTION] PROFILE [TEST...]