A Tree-sitter grammar for Tcl
8b37d53b9bde — Cezary Drożak default @ tip 11 months ago
feat: add escaped newlines to extras
c9b3a57e4c01 — Cezary Drożak 11 months ago
dev: use new secret
8b91359ff555 — Cezary Drożak 11 months ago
chore: update dependencies

heads

tip
browse log
v0.1.0
browse .tar.gz

clone

read-only
https://hg.sr.ht/~cdrozak/tree-sitter-tcl
read/write
ssh://hg@hg.sr.ht/~cdrozak/tree-sitter-tcl

#tree-sitter-tcl

Tree-sitter grammar for Tcl language.

#Generating

The recommended way to generate grammar is to use make, make all or make generate. They all do the same. There is also possibility to use NPM target, but it is slower — npm run generate.

#Credits

  • Handling of word concatenation was inspired by tree-sitter-bash. I didn't think of using external scanner to do that.

  • The code allowing to develop two grammars in one repository was basically copied from tree-sitter-typescript.