tree-sitter-bash

Bash grammar for tree-sitter (by tree-sitter)

Tree-sitter-bash Alternatives

Similar projects and alternatives to tree-sitter-bash

  1. cosmopolitan

    build-once run-anywhere c library

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. croc

    Easily and securely send things from one computer to another :crocodile: :package:

  4. NoiseTorch

    Real-time microphone noise suppression on Linux.

  5. ultimatepp

    U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).

  6. curl-to-php

    Convert curl commands to PHP code in your browser

  7. tree-sitter-json

    JSON grammar for tree-sitter

  8. tree-sitter-typescript

    TypeScript grammar for tree-sitter

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. tree-sitter-sql

    SQL syntax highlighting for tree-sitter (by m-novikov)

  11. tree-sitter-ruby

    Ruby grammar for tree-sitter

  12. tree-sitter-c

    C grammar for tree-sitter

  13. tree-sitter-cpp

    C++ grammar for tree-sitter

  14. tree-sitter-rust

    Rust grammar for tree-sitter

  15. tree-sitter-css

    CSS grammar for Tree-sitter

  16. curl-to-go

    Convert curl commands to Go code in your browser

  17. tree-sitter-javascript

    Javascript grammar for tree-sitter

  18. curlconverter

    Transpile curl commands into Python, JavaScript and 27 other languages

  19. tree-sitter-zig

    Tree-sitter package for the Zig programming language (by GrayJack)

  20. tree-sitter-python

    Python grammar for tree-sitter

  21. jepsen.tarantool

    Jepsen tests for Tarantool

  22. tree-sitter-html

    HTML grammar for Tree-sitter

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tree-sitter-bash alternative or higher similarity.

tree-sitter-bash discussion

Log in or Post with

tree-sitter-bash reviews and mentions

Posts with mentions or reviews of tree-sitter-bash. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-02.
  • Ask HN: What are some unpopular technologies you wish people knew more about?
    56 projects | news.ycombinator.com | 2 Dec 2023
    (1) Zulip Chat - https://zulip.com/ - seems to be reasonably popular, but more people should know about it

    I’ve been using it for over 5 years now [1], and it’s as good as ever. It’s way faster than any other chat app I’ve used. It has a good UI and conversation model. It has a simple and functional API that lets me curl threads and write blog posts based on them.

    (only problem is that I Ctrl-+ in my browser to make the font bigger – I think it’s too dense for most people)

    (2) re2c regex to state machine compiler - https://re2c.org

    A gem from the 90’s, which people have done a great job maintaining and improving (getting Go and Rust target support in the last few years). I started using it in 2016, and used for a new program a few months ago. I came to the conclusion that it should have been built into C, because C has shitty string processing – and Ken Thompson both invented C AND brought regular languages to computing !!

    In comparison, treesitter lexers are very low level, fiddly, and error prone. I recently saw dozens of ad hoc fixes to the tree-sitter-bash lexer, which is unsurprising if you look at the structure of the code (manually crawling through backslashes and braces in C).

    https://github.com/tree-sitter/tree-sitter-bash/blob/master/...

    These fixes are definitely appreciated, but I think it indicates a problem with the model itself.

    (based on https://lobste.rs/s/endspx/software_you_are_thankful_for#c_y...)

    [1] https://www.oilshell.org/blog/2018/04/26.html

  • Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
    21 projects | /r/emacs | 19 May 2023
  • Treesiter problem with .bashrc
    4 projects | /r/neovim | 14 Mar 2023
    I ran into this issue as well a few weeks ago, there's already a few issues for it: https://github.com/tree-sitter/tree-sitter-bash/issues/151
  • Building tree-sitter languages for Emacs
    20 projects | /r/emacs | 30 Dec 2022
  • Convert curl commands to code in several languages
    13 projects | news.ycombinator.com | 11 Mar 2022
    All 3 of these are linked to under "Related Tools".

    Those projects use a pretty basic tokenizer

    https://github.com/luckymarmot/Paw-cURLImporter/blob/master/...

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

    https://github.com/tj/commander.js/blob/02a124c7d58dbae2ef11...

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

  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 18 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic tree-sitter-bash repo stats
5
233
6.3
21 days ago

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that C is
the 6th most popular programming language
based on number of references?