A programming language in public Beta

Your ideas.
In plain English.

Write clear English. Build real programs.
Safarli turns .saf source into programs that run locally, with an offline compiler and runtime.

0.1.5 pre-release · Windows x64 in VS Code
Standalone packages are in preparation.

ENGLISH IN. PROGRAM OUT.
movies.saf
Orbit is a movie with a rating of eight.
Comet is a movie with a rating of six.
Nova is a movie with a rating of nine.
Increase Comet's rating by three.
Show Comet's rating.
Show Nova's rating.
Expected output
9
9
Runs locally in Safarli

Real Safarli source, with its complete expected output.
See example verification

Local by design

The compiler and runtime work offline. Your code stays on your device.

Check. Understand. Run.

Check your program first. Clarify a meaning when needed. Run when you decide.

Your work stays yours

No-fee personal, educational and business use under the Safarli EULA.

YOUR WORKFLOW, YOUR CHOICE

Two ways to get started.

Use the editor tools or a standalone command line.
You only need one installation path.

Available · 0.1.5 pre-release

Make yourself at home in VS Code.

Write, check and run with the compiler included in the extension. A separate CLI installation is optional.

Get the VS Code extension
Standalone packages · planned

Bring Safarli to your terminal.

Windows, Linux and experimental macOS packages are being prepared. See the real status for each architecture.

View standalone downloads

A CLEAR STARTING POINT

Natural English.
Explicit meaning.

Safarli is an experimental programming language. Clear facts and supported sentence patterns give the compiler a precise meaning to work with.

Some English constructions and combinations are not supported yet. Real ambiguity can require a Yes / No choice and a source edit before you run.

Learn how to write for Safarli

START WITH ONE SMALL PROGRAM

Read it. Copy it. Make it yours.

Explore examples