Online editor
The Salam compiler is compiled to WebAssembly and runs entirely in your browser. Write code, run it and browse the examples with nothing installed.
Everything you need to write, run, format and ship Salam programs lives in one command and a handful of editor plugins.
The Salam compiler is compiled to WebAssembly and runs entirely in your browser. Write code, run it and browse the examples with nothing installed.
Highlighting for English and Persian code, plus run, build, check and format through the Salam compiler, directly in Visual Studio Code.
Turn an English program into a Persian one or the other way round. Keywords, types and the entry point are rewritten for you.
salam translate fa program.salam
A chat assistant that knows the language and its standard library. It writes Salam, checks it with the compiler and explains errors.
A desktop app for Windows, macOS and Linux that lets Salam AI run commands and edit files in a folder on your computer, within limits you set.
Connect Claude Code, Cursor and other MCP clients to the Salam tools, or call the assistant from your own code through an OpenAI-compatible API.
The compiler, runner, formatter and documentation generator are all subcommands of one executable. The ones you will use most:
| Command | What it does |
|---|---|
salam check app.salam | Find errors fast: lex, parse and type-check without building |
salam run app.salam | Compile and run, without keeping the executable |
salam exec app.salam | Run on the interpreter, with no C compiler needed |
salam build app.salam | Build a native executable; add --target to cross compile |
salam new myapp | Create a new project directory, with --lang=fa for a Persian one |
salam format . | Format every Salam file in the directory |
salam doc | Generate API documentation as an HTML page |
salam web page.salam | Build a web page from the layout language and Salam scripts |
salam js app.salam | Compile to JavaScript to run in the browser |
salam cli | An interactive prompt for trying out snippets |
salam debug app.salam | Build with debug information and open the debugger |
The Salam plugins highlight both the English and the Persian keyword set, and their word lists are generated from the compiler's own tables.
More than 80 packages ship with the language, and every one of them has a Persian name too. A sample: