Add support for Salam
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:
- https://github.com/SalamLang/Salam/blob/main/tests/en/apps/swaggerapi/main.salam (JSON API that derives its own OpenAPI document)
- https://github.com/SalamLang/Salam/blob/main/tests/en/apps/auth/api_cookie_session.salam (HTTP server, cookie sessions and JWT)
- https://github.com/SalamLang/Salam/blob/main/tests/en/apps/envconfig/main.salam (command-line tool, layered configuration)
- https://github.com/SalamLang/Salam/blob/main/tests/en/apps/decodefeed/main.salam (command-line tool, batch-decodes untrusted JSON input)
- https://github.com/SalamLang/Salam/blob/main/std/collections/hashmap.salam (generic container from the standard library)
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