python-dbg VS rust-sitter

Compare python-dbg vs rust-sitter and see what are their differences.

rust-sitter

Use Tree Sitter to parse your own languages in Rust (by hydro-project)
Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
python-dbg rust-sitter
1 6
23 577
- 1.7%
7.7 5.3
7 months ago about 2 months ago
Python Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

python-dbg

Posts with mentions or reviews of python-dbg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-27.

rust-sitter

Posts with mentions or reviews of rust-sitter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-27.
  • Writing a Debugger from Scratch: Breakpoints
    4 projects | news.ycombinator.com | 27 Sep 2023
    This is a great series!

    I noticed that the author was using https://github.com/hydro-project/rust-sitter as a parser. Which is based on https://tree-sitter.github.io/tree-sitter/. I've been hearing about Tree-sitter a lot recently, so I dug into it.

    Tree-sitter is a tool for generating fast, incremental parsers. In particular, the algorithm is suited towards writing "language servers" for IDEs, which re-parse code incrementally as the user works. These kinds of incremental parsers have historically been a huge problem. It looks like Tree-sitter is an enormous practical advance in this area.

    And discovering that there's a way to use Tree-sitter from Rust is fantastic. From the post:

        #[rust_sitter::language]
  • Topiary: A code formatting engine leveraging Tree-sitter
    3 projects | news.ycombinator.com | 20 May 2023
    Oh I totally agree with your sentiment about tree-sitter. That's why I want it to be extended in functionality. It makes so much sense to have a single place where one parser can be written and everybody benefits. Much like language servers.

    Where I disagree is that IMO, tree-sitter already is very close to this ideal model. It has incremental parsing. It has great tree querying. Where it needs help is an AST facade over the raw syntax tree, which is very much feasible. rust-sitter[1] does it for instance. Tree-editing and tree construction is also very much doable. I don't think it'd have an impact on grammar construction at all. As for error recovery, I think it could function as a reparsing feature where you can drop down to a manual parser (or even a secondary grammar) that is more tolerant. Or an error recovery function that can be written in any language. tree-sitter already has the ability to use a manual lexer written in native code, so this is not such a stretch.

    [1]: https://github.com/hydro-project/rust-sitter.

  • GitHub - hydro-project/rust-sitter: Use Tree Sitter to parse your own languages in Rust
    1 project | /r/ProgrammingLanguages | 27 Feb 2023
  • Rust-sitter: Define your entire tree-sitter grammar in Rust code
    1 project | /r/hypeurls | 22 Feb 2023
  • Rust-sitter: Define your entire tree-sitter grammar on idiomatic Rust
    4 projects | news.ycombinator.com | 21 Feb 2023
  • Rust Sitter: create efficient parsers in Rust
    1 project | news.ycombinator.com | 19 Aug 2022

What are some alternatives?

When comparing python-dbg and rust-sitter you can also consider the following projects:

Crafting Interpreters - Repository for the book "Crafting Interpreters"

tree-sitter-c2rust - A fork of Tree Sitter with a pure Rust runtime for WASM support

ocamlformat - Auto-formatter for OCaml code

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

tree-sitter-rust - Rust grammar for tree-sitter

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured