9c43c52a0af9f5474bf97f2d93bd3a9947029bfb
tree-sitter-django
A tree-sitter grammar for the Django Template Language (DTL) — the {% %} tags and {{ }} variables used in Django templates.
Development
npm install
npm run parser-generate # regenerate the parser from grammar.js
npm run parser-test # run the corpus tests in test/corpus
npm run parser-build # build the WASM binary
npm run playground # interactively explore the grammar
Languages
JavaScript
45.4%
C
39.2%
Tree-sitter Query
14.8%
HTML
0.6%