Editor integrations for the Almide programming language.
Syntax highlighting, bracket matching, comment toggling, code folding for .almd files.
cd vscode
npx vsce package
code --install-extension almide-lang-*.vsixOr download the latest .vsix from Releases.
The TextMate grammar (syntaxes/almide.tmLanguage.json) is generated from Almide source code:
almide run generator/main.almdKeywords and scopes come from almide-grammar — the single source of truth for Almide syntax. When keywords change in almide-grammar, regenerating the TextMate grammar picks them up automatically.
almide-editors/
almide.toml declares almide-grammar dependency
syntaxes/
almide.tmLanguage.json generated TextMate grammar (shared by both extensions)
generator/
main.almd TextMate grammar generator (Almide)
almide_textmate.almd pattern definitions — imports almide_grammar
tmrule.almd TextMate rule types
vscode/ VS Code extension packaging
language-configuration.json bracket/comment config
# almide.toml
[dependencies]
almide-grammar = { git = "https://github.com/almide/almide-grammar" }The generator imports almide_grammar to get keyword groups, aliases, and scopes — no hardcoded keyword lists in the grammar definition.
GitHub Actions (.github/workflows/release.yml) runs on push to main:
- Builds
.vsix(VS Code extension) - Creates GitHub Release with version from
vscode/package.json
MIT