Agda grammar for tree-sitter
  • Yacc 71.3%
  • JavaScript 19.4%
  • C 8.7%
  • Tree-sitter Query 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-08-29 21:32:11 -04:00
.github/workflows ci(publish): add attestations and generate parser 2024-11-11 01:47:39 -05:00
bindings build: update bindings 2024-11-10 13:23:36 -05:00
examples chore: update manifests 2023-09-18 00:40:56 -04:00
queries add highlighting in queries 2023-09-18 00:40:56 -04:00
src fix(scanner): adjust container allocations 2025-08-29 21:32:11 -04:00
test/corpus chore: move corpus to test 2024-10-15 03:18:12 +00:00
todo [ fix ] Remove & archive corpus with unicode glitches 2019-07-26 16:23:37 +08:00
.editorconfig build: update bindings 2024-11-10 13:23:36 -05:00
.gitattributes build: update bindings 2024-11-10 13:23:36 -05:00
.gitignore build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
binding.gyp build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
Cargo.lock 1.3.3 2024-11-10 18:14:46 -05:00
Cargo.toml 1.3.3 2024-11-10 18:14:46 -05:00
CMakeLists.txt 1.3.3 2024-11-10 18:14:46 -05:00
eslint.config.mjs build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
go.mod build: update bindings 2024-11-10 13:23:36 -05:00
go.sum build: update bindings 2024-11-10 13:23:36 -05:00
grammar.js build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
LICENSE Initial commit 2018-03-13 10:57:31 +08:00
Makefile 1.3.3 2024-11-10 18:14:46 -05:00
package-lock.json 1.3.3 2024-11-10 18:14:46 -05:00
package.json 1.3.3 2024-11-10 18:14:46 -05:00
Package.resolved build: update bindings 2024-11-10 13:23:36 -05:00
Package.swift build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
parser.y add highlighting in queries 2023-09-18 00:40:56 -04:00
pyproject.toml 1.3.3 2024-11-10 18:14:46 -05:00
README.md docs: update badges 2024-02-14 19:18:09 -05:00
setup.py build: update bindings and migrate to 0.24 2024-10-15 03:18:12 +00:00
tree-sitter.json fix: correct highlight queries in tree-sitter.json 2025-08-29 21:32:11 -04:00

Agda Grammar for tree-sitter

CI discord matrix crates npm

Syntax highlighting and code folding done right (with context-free grammar, finally!)

tree-sitter

How to contribute

Install dependencies:

npm install

To see if you have tree-sitter installed:

npx tree-sitter

To generate the parser:

npx tree-sitter generate

Run test to see if everything's okay:

npm test

You may wanna run this on the language-agda's side:

npm install
apm rebuild