fut is implemented in Fusion.
To solve the egg-and-chicken problem, its transpilations to C++, C#
and JavaScript are included with the source code.
You need a C++20 compiler, such as GCC 13 or Clang 16. Build with:
make
You need .NET 8.0 or newer SDK. On Windows, it is included in Visual Studio 2022. Build with:
make FUT_HOST=cs
You need JDK 21 or newer. Build with:
make java/GenBase.java
make FUT_HOST=java
You need Node.js. Build with:
make FUT_HOST=node
To run fut tests, you will need:
- GNU Make
- perl
- GNU diff
- C and C++ compilers
- Java compiler
- Node.js
- Python
- mypy static type checker
- Swift
- GLib
To get GNU Make, perl, GNU diff, Clang, Node.js, Python, mypy and GLib on Windows, install MSYS2, start "MSYS2 MinGW 64-bit" and add packages with:
pacman -S make perl diffutils mingw-w64-x86_64-gcc mingw-w64-x86_64-clang mingw-w64-x86_64-nodejs mingw-w64-x86_64-python mingw-w64-x86_64-mypy mingw-w64-x86_64-glib2
On macOS:
brew install node glib pkg-config
Run the tests with:
make test
The -jN option is supported and strongly recommended.