Rust Ast

Open-source Rust projects categorized as Ast

Top 13 Rust Ast Projects

  1. ast-grep

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

    Project mention: AST-Grep | news.ycombinator.com | 2025-09-10
  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. gritql

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

    Project mention: CI/CD Observability with OpenTelemetry Step by Step Guide | news.ycombinator.com | 2025-06-15

    "Better" is always "for what metric" but if nothing else having the source code to the stack is always "better" IMHO even if one doesn't choose to self-host, and that goes double for SigNoz choosing a permissive license, so one doesn't have to get lawyers involved to run it

    ---

    While digging into their open source story, I did find these two awesome toys, one relevant to the otel discussion and one just neato

    https://github.com/honeycombio/refinery (Apache 2) -- Refinery is a tail-based sampling proxy and operates at the level of an entire trace. Refinery examines whole traces and intelligently applies sampling decisions to each trace. These decisions determine whether to keep or drop the trace data in the sampled data forwarded to Honeycomb.

    https://github.com/honeycombio/gritql (MIT) -- GritQL is a declarative query language for searching and modifying source code

  4. piranha

    A tool for refactoring code related to feature flag APIs

  5. diffsitter

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

    Project mention: Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs | news.ycombinator.com | 2025-07-10
  6. 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)

  7. once_self_cell

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

  8. lang-c

    Lightweight C parser for Rust

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. codeparser

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

  11. astmaker

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

  12. peginator

    PEG parser generator for creating ASTs in Rust

  13. syn-file-expand

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

  14. kalem.rs

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

  15. llama

    A programming language impl from Robert Nystrom's Crafting Interpreters (by rasheedmhd)

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 discussion

Rust Ast related posts

  • A Look at Rust from 2012

    2 projects | news.ycombinator.com | 3 Dec 2025
  • AST-Grep

    1 project | news.ycombinator.com | 10 Sep 2025
  • Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs

    7 projects | news.ycombinator.com | 10 Jul 2025
  • GritQL: A query language for searching, linting, and modifying code

    1 project | news.ycombinator.com | 30 May 2025
  • Diffsitter: A Tree-sitter based AST difftool to get meaningful semantic diffs

    1 project | news.ycombinator.com | 7 Mar 2025
  • Refactoring with Codemods to Automate API Changes

    1 project | news.ycombinator.com | 10 Jan 2025
  • Using ast-grep with a vue project

    1 project | dev.to | 31 Dec 2024
  • A note from our sponsor - Stream
    getstream.io | 22 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. 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 11,708
2 gritql 4,282
3 piranha 2,413
4 diffsitter 2,293
5 ClangQL 521
6 once_self_cell 289
7 lang-c 228
8 codeparser 145
9 astmaker 122
10 peginator 41
11 syn-file-expand 18
12 kalem.rs 4
13 llama 0

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io