#8206·linguist

Add support for Salam

Author: BaseMaxCreated Sep 18, 2026Updated Sep 25, 2026
LabelsAdd LanguageGood First Issue

Language name

Salam

A general-purpose, compiled systems language with a built-in DSL for markup/layout. The compiler is self-hosted: it is written in Salam and compiles itself.

Online editor (runs on the browser, no install): https://salamlang.github.io/Salam/

URL of example repository

https://github.com/SalamLang/Salam

The .salam code in that repository is the language's own compiler (compiler/), its standard library (std/), and its test suite (tests/).

Some self-contained programs that show ordinary usage rather than toy examples:

URL of syntax highlighting grammar

VS Code: https://github.com/SalamLang/Salam/tree/main/extensions/vscode

Grammar: https://github.com/SalamLang/Salam/blob/main/extensions/vscode/syntaxes/salam.tmLanguage.json

A TextMate grammar, scope source.salam, shipped in the VS Code extension (salamlanguage.salam-programming-language). It is generated from the compiler's own keyword tables, so it stays in step with the language.

Most popular extensions

.salam the only extension the language uses. There is no second extension and no special filenames.

Detected language

None. .salam is not claimed by any entry in languages.yml, so the files are left unclassified and do not appear in the repository language bar at all.

Source: github-linguist/linguist