Rust Ast

Open-source Rust projects categorized as Ast

Top 11 Rust Ast Projects

  • ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

  • Project mention: An infinite canvas for code exploration | news.ycombinator.com | 2024-05-06

    It's unclear what the superpowers would be? Video doesn't show anything I can't do with an IDE or decent code editor, and there I also have refactoring tools, metadata like indicators for usages that can be used for navigating and so on.

    Reminds me of UML-like diagrams over relational databases, except that it's generated one piece at a time. In practice I generate diagrams showing cyclomatic complexity much more often, and for code exploration outside the IDE I'd use ast-grep.

    https://ast-grep.github.io/

  • gritql

    GritQL is a query language for searching, linting, and modifying code.

  • Project mention: Ask HN: I have been unable to land a job in two years, does anybody | news.ycombinator.com | 2024-05-03

    I've issued a few bounties on my repo [0], and it's worked fairly well from my perspective. I'm both the bounty assigner and the maintainer in this case.

    Keep in mind that open source is always a bit messy, and a lot of people on all projects (even without bounties) never actually follow through with contributions that they plan to do for a whole host of reasons. The way I've approached it is once someone either has a track record of contributing or makes substantial (visible) process on a PR I assign the bounty to them.

    [0] https://github.com/getgrit/gritql/issues?q=is%3Aopen+is%3Ais...

  • 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.

    InfluxDB logo
  • diffsitter

    A tree-sitter based AST difftool to get meaningful semantic diffs

  • Project mention: AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting | news.ycombinator.com | 2023-12-10

    Or https://github.com/afnanenayet/diffsitter. I've tried both and I like them. No preference or notable opinions on them yet!

  • ClangQL

    ClangQL is a tool that allow you to run SQL-like query on C/C++ Code instead of database files using the GitQL SDK (by AmrDeveloper)

  • Project mention: ClangQL: A tool to run SQL-like query on C/C++ Code | news.ycombinator.com | 2024-04-07
  • once_self_cell

    Safe-to-use proc-macro-free self-referential structs in stable Rust.

  • Project mention: Ouroboros is also unsound | /r/rust | 2023-06-11

    This issue says "Migrate code to use self_cell instead." That page says "It has undergone community code review from experienced Rust users." Looking at the review, issues were found and fixed earlier on, but my interpretation of the end of the thread is more that folks stopped responding with concerns, so confidence is now assumed but still not proven. The same was true of most (all?) other crates trying to solve the same problem, until enough people did find the unsoundness holes unique to each crate.

  • lang-c

    Lightweight C parser for Rust

  • astmaker

    Build Abstract Syntax Trees and tree-walking models quickly in Rust.

  • Project mention: Letlang — Roadblocks and how to overcome them - My programming language targeting Rust | /r/rust | 2023-06-07

    Rust is a very nice langage for implementing compilers, and has a nice ecosystem for it (logos, rust-peg, lalrpop, astmaker -- this one is mine --, etc...).

  • SaaSHub

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

    SaaSHub logo
  • codeparser

    Parse Wolfram Language source code as abstract syntax trees (ASTs) or concrete syntax trees (CSTs)

  • Project mention: The Story Continues: Announcing Version 14 of Wolfram Language and Mathematica | news.ycombinator.com | 2024-01-12
  • peginator

    PEG parser generator for creating ASTs in Rust

  • syn-file-expand

    Rust library to scan files and expand (make modules inline) multi-file crates source code as a single tree.

  • kalem.rs

    Fegeya Kalem.rs, Rust implementation of Kalem, work-in-progress.

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).

Rust Ast related posts

  • Ask HN: I have been unable to land a job in two years, does anybody

    1 project | news.ycombinator.com | 3 May 2024
  • Migrate to React 19 with ast-grep

    2 projects | dev.to | 28 Apr 2024
  • ClangQL: A tool to run SQL-like query on C/C++ Code

    3 projects | news.ycombinator.com | 7 Apr 2024
  • AST-grep(sg) AST grep based on Treesitter

    1 project | news.ycombinator.com | 1 Apr 2024
  • Show HN: GritQL, a Rust CLI for rewriting source code

    8 projects | news.ycombinator.com | 20 Mar 2024
  • How I build a chatbot for my OSS project, for free, without code!

    2 projects | dev.to | 31 Dec 2023
  • AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting

    15 projects | news.ycombinator.com | 10 Dec 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Ast projects in Rust? This list will help you:

Project Stars
1 ast-grep 5,950
2 gritql 2,368
3 diffsitter 1,531
4 ClangQL 424
5 once_self_cell 226
6 lang-c 184
7 astmaker 117
8 codeparser 117
9 peginator 29
10 syn-file-expand 12
11 kalem.rs 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com