C tree-sitter

Open-source C projects categorized as tree-sitter

Top 14 C tree-sitter Projects

  • tree-sitter-markdown

    A markdown grammar for tree-sitter

    Project mention: New(ish) plugin: ts-vimdoc.nvim, generate vimdoc from your README.md for your plugin using tree-sitter | reddit.com/r/neovim | 2022-07-01

    The original repo wasn't working since the move from ikatyang/tree-sitter-markdown to the new markdown parser by /u/deinemade/ MDeiml/tree-sitter-markdown so I kept maintaining it as a fork with the absolute basics just so I could generate the vimdoc for fzf-lua.

  • go-tree-sitter

    Golang bindings for tree-sitter https://github.com/tree-sitter/tree-sitter

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • tree-sitter-comment

    Tree-sitter grammar for comment tags like TODO, FIXME(user).

    Project mention: paint.nvim: Simple Neovim plugin to easily add additional highlights to your buffers | reddit.com/r/neovim | 2022-11-16

    The reason I implemented this is because of the slow performance of tree-sitter-comment in large files. Treesitter will inject the comment language for every line comment, which is far from ideal. I've disabled the comment parser, but still wanted to see @something highlighted in Lua comments.

  • tree-sitter-sql

    SQL grammar for tree-sitter (by DerekStride)

    Project mention: Treesitter Capturing ERROR Nodes | reddit.com/r/neovim | 2022-08-26
  • tree-sitter-tlaplus

    A tree-sitter grammar for TLA+ and PlusCal

    Project mention: Happy 15th birthday Hacker News | news.ycombinator.com | 2022-02-18
  • tree-sitter-embedded-template

    Tree-sitter grammar for embedded template languages like ERB, EJS

    Project mention: How to embed EJS parser in the tree-sitter? | reddit.com/r/lunarvim | 2022-03-06
  • tree-sitter-go-template

    Golang template grammar for tree-sitter

    Project mention: Helm charts for Kubernetes in Nvim - bad experience | reddit.com/r/neovim | 2022-02-12

    I use tree-sitter for syntax highlighting, and I have found this grammar (note that helm templates are basically go templates), but it's not very polished and brakes pure yaml syntax highlighting. Another problem I have is that, because helm template files end in .yaml, I get a tone of diagnostics errors from the yamlls lsp server and I have to disable it every time with lua vim.diagnostics.disable(). Lastly it would be really nice if I could get autocompletion working and maybe some linting.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • tree-sitter-twig

    Twig grammar for Tree-sitter

    Project mention: Just made a tree-sitter parser for Twig ! I'm looking for Neovim users to test it ! | reddit.com/r/neovim | 2022-09-22

    I worked hard on this twig tree-sitter parser and I use it for a while, and it seems quite good ! https://github.com/gbprod/tree-sitter-twig

  • tree-sitter-gitcommit

    A tree-sitter grammar for gitcommit messages

    Project mention: gitcommit tree-sitter parser for neovim looking for testers :) | reddit.com/r/neovim | 2022-11-20
  • tree-sitter-fish

    Fish grammar for tree-sitter

    Project mention: TreeSitter is not parsing syntax for `fish` files. | reddit.com/r/neovim | 2022-01-21

    It is though. "Fish" is listed under supported languages in treesitter. It points to this repo: https://github.com/ram02z/tree-sitter-fish

  • tree-sitter-racket

    Racket grammar for tree-sitter

    Project mention: tree-sitter racket | reddit.com/r/Racket | 2022-05-25
  • grove

    Universal AST parser built on Tree-sitter (by mintlify)

    Project mention: Mintlify is Open Source! | reddit.com/r/opensource | 2022-06-03

    Grove - Universal AST parser built on Tree-sitter for node.

  • tree-sitter-formula

    Formula grammar for tree-sitter

    Project mention: Show HN: Penumbra, a perceptually optimized color palette based on natural light | news.ycombinator.com | 2022-08-04

    Tree-sitter[0] can provide semantic highlighting and I've been using it with all the languages I program in, including writing my own grammar[1] for a language that didn't have syntax highlighting. The improvement in readability is a quantum leap, because colors actually have semantic meaning rather than just being eye candy.

    [0] https://tree-sitter.github.io/tree-sitter

    [1] https://github.com/siraben/tree-sitter-formula

  • tree-sitter-visitor

    Procedural macro for generating a visitor trait for Tree Sitter Rust bindings

    Project mention: Show HN: Alumina Programming Language | news.ycombinator.com | 2022-09-03

    Honestly, Tree Sitter is fantastic, I can highly recommend it. By far the most user friendly and powerful parser generator I've worked with. The C API is very nice.

    The only two pain point I had is that the `node-types.json` that's generated only contains the names of the nodes, not the numerical IDs. This means that if you have some codegen generating Rust enums is difficult if you want to avoid matching nodes by string.

    I wrote https://github.com/tibordp/tree-sitter-visitor for generating visitor traits in Rust for a given grammar. I actually did it a bit differently in the end for Alumina, but it might come useful.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-20.

C tree-sitter related posts

Index

What are some of the best open-source tree-sitter projects in C? This list will help you:

Project Stars
1 tree-sitter-markdown 221
2 go-tree-sitter 139
3 tree-sitter-comment 84
4 tree-sitter-sql 55
5 tree-sitter-tlaplus 38
6 tree-sitter-embedded-template 31
7 tree-sitter-go-template 28
8 tree-sitter-twig 17
9 tree-sitter-gitcommit 16
10 tree-sitter-fish 15
11 tree-sitter-racket 13
12 grove 8
13 tree-sitter-formula 3
14 tree-sitter-visitor 1
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org