a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
sogaiu abe937c8da Update what and why docs 2025-06-27 03:40:19 +07:00
doc Update what and why docs 2025-06-27 03:40:19 +07:00
queries Add syntax highlighting queries 2022-03-26 23:48:03 +07:00
src Regenerate using tree-sitter 0.20.9 2024-01-28 01:11:37 +07:00
test/corpus Add indentation changes to corpus tests 2023-03-17 17:24:49 +07:00
.gitignore Add binding.gyp 2021-04-12 19:53:59 +07:00
CHANGELOG.md Update CHANGELOG 2024-05-15 19:51:17 +07:00
COPYING.txt Add COPYING.txt 2021-01-05 06:44:58 +07:00
README.md Update README and credits 2025-05-25 23:17:05 +07:00
grammar.js Loosen sym_val_lit definition 2023-03-17 15:30:21 +07:00
package.json Update version in package.json 2024-01-28 01:11:46 +07:00

README.md

tree-sitter-clojure

A tree-sitter grammar for Clojure and ClojureScript

What the Repository Provides

This repository provides some files used to create various artifacts (e.g. dynamic libraries) used for handling Clojure and ClojureScript source code via tree-sitter.

Please see the what and why document for detailed information.

Potential Changes Announcements

Changes may occur because:

  1. There may be unanticipated important use cases we may want to account for
  2. The grammar depends on tree-sitter which remains in flux (and is still pre 1.0)
  3. It's possible we missed something or got something wrong about Clojure and we might want to remedy that

To get a heads-up before such changes occur, please consider subscribing to the Potential Changes Announcements issue to be notified beforehand.

Note that previously tagged versions may work fine depending on the use case. See the changelog for details.

Other Documents

There are some documents in the doc directory covering topics such as:

Acknowledgments

Please see the credits.