TextMate grammar for the Clef programming language, providing syntax highlighting for editors and GitHub.
source.clef
This grammar is derived from ionide-fsgrammar (MIT License). Clef shares syntactic roots with F# and this grammar serves as the baseline for Clef-specific highlighting. As the Clef language specification evolves, this grammar will diverge to reflect language-specific constructs.
This grammar is consumed by:
- GitHub Linguist for repository language detection and highlighting
- Lattice (VS Code extension for Clef)
grammars/
clef.json # TextMate grammar definition
sample-code/ # Representative Clef source files
MIT — see LICENSE.md
Ionide F# Grammar: Copyright (c) Krzysztof Cieślak and contributors, MIT License.