Topics / #ast

Ast projects on GitHub

Abstract syntax tree parsing and transformation for code analysis.

As of , the most-starred Ast projects on GitHub are graphify (127.9K stars), prettier (52.4K stars) and codebase-memory-mcp (46.9K stars). GitHub.Locker tracks 18 Ast repositories with 428.2K stars combined. The fastest-growing on October 17 was graphify, with +592 stars in a day.

18Projects
428.2KStars in total
+706Stars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

18 projects · by stars

  1. #1 · Graphify-Labs/graphify

    graphify

    Graphify turns a whole codebase — plus its docs, SQL schemas, configs, and PDFs — into a queryable knowledge graph you traverse instead of grepping files.

    127.9K
  2. #2 · prettier/prettier

    prettier

    Prettier is an opinionated code formatter: point it at a project and it keeps the whole codebase in one consistent code style.

    52.4K
  3. #3 · DeusData/codebase-memory-mcp

    codebase-memory-mcp

    codebase-memory-mcp is a high-performance MCP server that indexes a codebase into a persistent knowledge graph so AI coding agents like Claude Code, Codex, Cursor, and Windsurf can query code structure instead of grepping files.

    46.9K
  1. 4

    babel

    44.1Kbabel/babel · TypeScript

    Babel is a compiler for JavaScript: you write code with the newest language features, and it compiles it down to a version your target environments can actually run.

  2. 5

    postcss

    29Kpostcss/postcss · TypeScript

    PostCSS is a Node.js tool for transforming styles with JS plugins: it parses CSS into an Abstract Syntax Tree and gives plugins an API to analyze and modify its rules.

  3. 6

    difftastic

    26KWilfred/difftastic · Rust

    Difftastic is a structural diff tool that compares files based on their syntax rather than line by line, so it highlights exactly which pieces of syntax have changed.

  4. 7

    flow

    22.3Kfacebook/flow · Rust

    Flow is a static typechecker for JavaScript: it adds static typing to your code to catch errors early and improve quality. The project goes back to 2014 and is written in Rust.

  5. 8

    PHP-Parser

    17.5Knikic/PHP-Parser · PHP

    A parser written in PHP that turns PHP code into an abstract syntax tree (AST). Its purpose is to simplify static code analysis and manipulation of PHP code.

  6. 9

    ast-grep

    16.3Kast-grep/ast-grep · Rust

    ast-grep (sg) is a CLI tool for structural search, linting and rewriting of source code — like grep, but matching the abstract syntax tree instead of raw text.

  7. 10

    claude-context

    12.6Kzilliztech/claude-context · TypeScript

    Claude Context is an MCP server that gives AI coding agents semantic search over your entire codebase, so they can pull relevant code straight into context instead of loading whole directories.

  8. 11

    acorn

    11.5Kacornjs/acorn · JavaScript

    Acorn is a tiny, fast JavaScript parser written entirely in JavaScript. It parses JS source code into an abstract syntax tree (ESTree-compatible), which tools can then analyze or transform.

  9. 12

    rector

    10.4Krectorphp/rector · PHP

    Rector is a PHP tool that instantly upgrades and refactors PHP codebases: it automates upgrades from PHP 5.3 up to 8.5 plus framework migrations, and can keep code quality high continuously via CI.

  10. 13

    cppinsights

    4.7Kandreasfertig/cppinsights · C++

    C++ Insights is a Clang-based source-to-source transformation tool that shows C++ code the way the compiler actually sees it, revealing implicit things like compiler-generated special member functions, implicit casts, and what lambdas, range-based for-loops, or auto/decltype actually expand to.

  11. 14

    MDsveX

    3.1Kpngwn/MDsveX · JavaScript

    mdsvex is a Markdown preprocessor for Svelte — it lets you write Markdown inside Svelte projects and turns it into Svelte components at build time.

  12. 15

    spinel

    2.3Kmatz/spinel · C

    Spinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.

  13. 16

    compiler

    937edgcpp/compiler · C

    This is the open-source EDG C/C++ compiler front end project: a parser and semantic analyzer for C and C++ that is famous for matching Clang, GCC, and MSVC's parsing behavior (including their quirks) so vendors can embed it in their own tools.

  14. 17

    htn_planner

    369urosidoki/htn_planner · C++

    HTN Planner is a C++ hierarchical task network planner for game AI: domains are written in a small declarative language and translated ahead of time into native C, so the runtime executes generated code directly without parsing domain source during gameplay.

  15. 18

    axiomcodegraph

    200AxiomCodeAI/axiomcodegraph · TypeScript

    AxiomCode Graph turns a codebase into a knowledge graph built with formal methods (compiler-style type resolution) rather than syntax guessing, so AI coding agents can look up exact callers, callees, call paths and affected tests instead of grepping through code.

Often tagged together