Fantom is a portable language that runs on the JVM and modern web browsers. It features a familiar Java-like syntax, static (and dynamic) typing, elegant system library, closures, immutability, actor concurrency, and much more.
// Hello from Fantom!
class HelloWorld
{
static Void main()
{
echo("Hello, World!")
}
}
Download the latest official release from fantom.org. See Setup for installation details.
Installers are also available for macOS and Windows:
- macOS:
brew install fantom
- Windows: installer
This repo vends a docker image that can be downloaded and run locally using:
docker run -it ghcr.io/fantom-lang/fantom:latest bash
It can be used in other dockerfiles using the FROM
command:
FROM ghcr.io/fantom-lang/fantom:latest AS build
We are most active on the Forum, but also hang out on Slack.
Bugs and feature requests should be reported on the Forum.
See contrib.md for how to contribute to Fantom.