mirror of
https://github.com/tree-sitter/tree-sitter-agda.git
synced 2026-11-17 03:10:55 +00:00
Agda grammar for tree-sitter
- Yacc 71.3%
- JavaScript 19.4%
- C 8.7%
- Tree-sitter Query 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| bindings | ||
| examples | ||
| queries | ||
| src | ||
| test/corpus | ||
| todo | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| binding.gyp | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CMakeLists.txt | ||
| eslint.config.mjs | ||
| go.mod | ||
| go.sum | ||
| grammar.js | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| Package.resolved | ||
| Package.swift | ||
| parser.y | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| tree-sitter.json | ||
Agda Grammar for tree-sitter
Syntax highlighting and code folding done right (with context-free grammar, finally!)
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
