null
Find a file
Brian Faust 8f5366ff6c
first commit
Signed-off-by: Brian Faust <brian@cline.sh>
2025-12-10 08:01:57 +02:00
.github/workflows first commit 2025-12-10 08:01:57 +02:00
bindings first commit 2025-12-10 08:01:57 +02:00
src first commit 2025-12-10 08:01:57 +02:00
test/corpus first commit 2025-12-10 08:01:57 +02:00
.editorconfig first commit 2025-12-10 08:01:57 +02:00
.gitattributes first commit 2025-12-10 08:01:57 +02:00
.gitignore first commit 2025-12-10 08:01:57 +02:00
.npmignore first commit 2025-12-10 08:01:57 +02:00
binding.gyp first commit 2025-12-10 08:01:57 +02:00
biome.json first commit 2025-12-10 08:01:57 +02:00
Cargo.toml first commit 2025-12-10 08:01:57 +02:00
example.zit first commit 2025-12-10 08:01:57 +02:00
grammar.js first commit 2025-12-10 08:01:57 +02:00
LICENSE.md first commit 2025-12-10 08:01:57 +02:00
package.json first commit 2025-12-10 08:01:57 +02:00
README.md first commit 2025-12-10 08:01:57 +02:00
tree-sitter-zit.wasm first commit 2025-12-10 08:01:57 +02:00
tree-sitter.json first commit 2025-12-10 08:01:57 +02:00

tree-sitter-zit

zit grammar for tree-sitter - an enhanced task tracking format based on [x]it!

This grammar supports both the original xit format and zit (enhanced xit) with additional features like task IDs, time tracking, dependencies, assignees, recurring tasks, Linear/Jira/GitHub issue linking, and more. See SPEC.md for the complete zit specification.

Installation

You need to have a proper tree-sitter setup first.

Development

Running Tests

The grammar includes comprehensive tests in the test/corpus/ directory covering all xit and zit features:

# Run all tests
npm test

# Or using tree-sitter CLI directly
tree-sitter test

# Run a specific test file
tree-sitter test -f checkboxes
tree-sitter test -f task_ids

Building the Grammar

# Generate parser from grammar.js
tree-sitter generate

# Build WASM for web usage
tree-sitter build --wasm

# Test the parser interactively
tree-sitter parse example.zit