Tools Built on Tree Sitter
a year ago
- #syntax-trees
- #tree-sitter
- #developer-tools
- Tree-sitter enables powerful tools using concrete syntax trees (CSTs), contrary to the initial belief that abstract syntax trees (ASTs) were necessary.
- Tools like difftastic, combobulate, cursorless, and mergiraf showcase the versatility of tree-sitter in improving code navigation, editing, diffing, and merging.
- Additional tools and libraries such as srgn, ast-grep, libCST, gritQL, and json path finder extend tree-sitter's utility in search, linting, and manipulation tasks.
- Topiary uses tree-sitter to create formatters for custom languages, highlighting its potential beyond existing programming languages.
- The post invites contributions on more tree-sitter tools or research comparing ASTs and CSTs.