sogaiu/tree-sitter-clojure

Clojure(Script) grammar for tree-sitter

191

stars

25

commits

C

primary language

Aug 26, 2025

updated

clojure
clojurescript
grammar
parser
tree-sitter

README

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

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

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.

Contributors

dannyfreeman

20 commits

borkdude

2 commits

sogaiu

2 commits

Wilfred

1 commits

sogaiu/tree-sitter-clojure

Clojure(Script) grammar for tree-sitter

191

stars

25

commits

C

primary language

Aug 26, 2025

updated

clojure
clojurescript
grammar
parser
tree-sitter

README

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

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

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.

Contributors

dannyfreeman

20 commits

borkdude

2 commits

sogaiu

2 commits

Wilfred

1 commits

Languages

C

98.4%

JavaScript

1.6%