GitHub syntax highlighting is provided through
GitHub Linguist. Linguist can
consume either the TextMate grammar in
../vscode/syntaxes/tya.tmLanguage.json
or the Tree-sitter grammar scaffold in
../tree-sitter-tya/ for source.tya.
To register Tya upstream, open a pull request against github-linguist/linguist
with a languages.yml entry like:
The language_id must be assigned by Linguist maintainers. Until that upstream
PR lands, repositories can opt in locally with:
*.tya linguist-language=TyaThe canonical token taxonomy is documented in
../TOKENS.md.