JavaScript tree-sitter

Open-source JavaScript projects categorized as tree-sitter Edit details

Top 18 JavaScript tree-sitter Projects

  • tree-sitter-javascript

    Javascript grammar for tree-sitter

  • tree-sitter-python

    Python grammar for tree-sitter

    Project mention: Custom treesitter python highlight for __dunder__ methods | | 2022-06-18

    How can we add different highlight for __dunder__ methods a.k.a. magic methods? Is there a TS highlight group for that? I know that in tree-sitter-python there is pythonTSConstructor for __init__ method that I can customize, but I couldn't figure out for other magic methods.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • tree-sitter-typescript

    TypeScript grammar for tree-sitter

    Project mention: Is there an official language spec and/or lexical grammar for TS? | | 2022-04-04

    If you need to do efficient AST operations, have you considered treesitter? There is a typescript grammar available

  • tree-sitter-go

    Go grammar for tree-sitter

  • tree-sitter-rust

    Rust grammar for tree-sitter

    Project mention: Rust and Neovim - A Thorough Guide and Walkthrough | | 2022-08-15

    Tree-sitter is a fantastic parser generation and incremental parsing library, that supports Rust language bindings and has an available parser Rust tree-sitter-rust.

  • tree-sitter-cpp

    C++ grammar for tree-sitter

    Project mention: Neovim C++ development | | 2021-11-28
  • tree-sitter-bash

    Bash grammar for tree-sitter

    Project mention: Convert curl commands to code in several languages | | 2022-03-11

    All 3 of these are linked to under "Related Tools".

    Those projects use a pretty basic tokenizer

    Insomnia and Postman use commander.js for their bash parsing which looks like it just splits on space:

    and only support a few of curl's options. Curlconverter uses tree-sitter's Bash grammar and tries to at least correctly discard all of curl's options and any options that curl used to have.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • tree-sitter-c

    C grammar for tree-sitter

    Project mention: treesitter printf format highlighting? | | 2021-10-27

    There's no way to highlight format specs currently, since the treesitter C grammar doesn't specify them. You could open an issue on the tree-sitter-c repo.

  • tree-sitter-haskell

    Haskell grammar for tree-sitter.

  • tree-sitter-ruby

    Ruby grammar for tree-sitter

  • tree-sitter-c-sharp

    C# Grammar for tree-sitter

  • tree-sitter-scala

    Scala grammar for tree-sitter

  • tree-sitter-php

    PHP grammar for tree-sitter

    Project mention: tree-sitter-php: PHP grammar for tree-sitter | | 2021-11-02
  • tree-sitter-kotlin

    Kotlin grammar for Tree-Sitter

  • tree-sitter-sql

    SQL syntax highlighting for tree-sitter

    Project mention: Open Source SQL Parsers | | 2022-04-21
  • tree-sitter-vue

    Vue grammar for tree-sitter

    Project mention: Slow neovim vue highlighting with polyglot, tree-sitter solution. | | 2021-11-14
  • xedel

    Keyboard-centric modal code editor, built with nodejs and GTK

  • tree-sitter-sqlite

    SQLite grammar for tree-sitter

    Project mention: How would you go about highlighting C++ raw string literals as another language with tree-sitter? | | 2022-05-28

    I am using this parser:

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-08-15.

JavaScript tree-sitter related posts


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

Project Stars
1 tree-sitter-javascript 179
2 tree-sitter-python 163
3 tree-sitter-typescript 151
4 tree-sitter-go 143
5 tree-sitter-rust 143
6 tree-sitter-cpp 124
7 tree-sitter-bash 113
8 tree-sitter-c 110
9 tree-sitter-haskell 103
10 tree-sitter-ruby 103
11 tree-sitter-c-sharp 87
12 tree-sitter-scala 63
13 tree-sitter-php 61
14 tree-sitter-kotlin 57
15 tree-sitter-sql 54
16 tree-sitter-vue 48
17 xedel 23
18 tree-sitter-sqlite 6
Find remote jobs at our new job board There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
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.