Ast

Top 23 Ast Open-Source Projects

  1. prettier

    Prettier is an opinionated code formatter.

    Project mention: Prettier: An Opinionated Code Formatter | news.ycombinator.com | 2026-11-04
  2. SaaSHub

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

    SaaSHub logo
  3. Babel (Formerly 6to5)

    🐠 Babel is a compiler for writing next generation JavaScript.

    Project mention: What's new in JavaScript Linter 🐊Putout v42 | dev.to | 2026-02-20

    Babel also already supports it, so the time is come 🤷‍♂️.

  4. babel-parser

  5. PostCSS

    Transforming styles with JS plugins

    Project mention: Introducing Fylgja CSS Attr v2 Polyfill | dev.to | 2026-09-08

    Second, it has to be easy to integrate into a project, so we needed integrations with the popular CSS compilers. That means support for ViteJS, LightningCSS and PostCSS.

  6. PHP Parser

    A PHP parser written in PHP

    Project mention: How I built a request tracer for Laravel without a PHP extension | dev.to | 2026-11-06

    For a git diff, BlastRadius parses your code with php-parser, builds a call graph, and follows callers back to routes, jobs and commands. Every link has a confidence: CONFIRMED (the code says so), POSSIBLE (a guess from names) or UNRESOLVED (dynamic calls, reported instead of silently dropped). A path is only as certain as its weakest link.

  7. ast-grep

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

    Project mention: The Self-Driving Codebase: Full Agent Automation with Otter | dev.to | 2026-05-07

    The previous post covered how we structured the codebase: Effect conventions, ast-grep enforcement, Drift, and CLAUDE.md to collaborate with Claude Code. You describe what you want, review the output, iterate. That works well. This post is about what happens when you step away entirely: giving the agent a list of issues and letting it work through them while you do something else. In autonomous mode, there's no mid-session correction. Anything the enforcement layer doesn't catch compounds across commits which is why clean issue tracking, issue review and end-of-session QA matter more, not less.

  8. Acorn

    A small, fast, JavaScript-based JavaScript parser

    Project mention: One PR to a parser unlocked prerendering in Brisa | dev.to | 2026-04-23

    Acorn

  9. Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

    Project mention: Upgrading an old PHP app in steps: the order we follow before PHP 8.2 runs out | dev.to | 2026-11-03

    Rector rewrites code for newer PHP versions: removed functions, changed signatures, new syntax. Start with a dry run so you can read every change first.

  10. remark

    markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

    Project mention: I finally rebuilt my portfolio website (and added a terminal theme) | dev.to | 2026-10-19

    Blog content: .mdx files parsed with gray-matter and remark, with Prism syntax highlighting

  11. esprima

    ECMAScript parsing infrastructure for multipurpose analysis

    Project mention: Fastest Front End Tooling for Humans and AI | news.ycombinator.com | 2026-02-18

    Hasn't that already been tried (10+ years ago) with projects like https://github.com/jquery/esprima ? Which have since seen usage dramatically reduced for performance reasons.

  12. js-code-to-svg-flowchart

    js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG flowchart. Learn other’s code. Design your code. Refactor code. Document code. Explain code.

  13. astexplorer

    A web tool to explore the ASTs generated by various parsers.

    Project mention: Enforce access control with a few custom linter rules | dev.to | 2026-09-10

    I won't detail the rule here, since it depends heavily on the shape of your project. This kind of rule is quite easy to build with an AST explorer (for instance https://astexplorer.net/) or with AI tools.

  14. ts-morph

    TypeScript Compiler API wrapper for static analysis and programmatic code changes.

    Project mention: JSIR: A High-Level IR for JavaScript | news.ycombinator.com | 2026-04-07

    But if the alternative is regex, and you're writing already in TypeScript, you may take a look at ts-morph [0]. TS has very good compiler APIs and that gets you something much safer than text-based replacement while still staying relatively small for a constrained subset. ts-morph wraps those APIs cleanly.

    Btw, JS doesn't even have an official bytecode. The spec is defined at the language semantics level, so each engine/toolchain invents its own internal representation.

    [0] https://github.com/dsherret/ts-morph

  15. JavaParser

    Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

    Project mention: Onboarding Your AI Pair Programmer: From Spec-Driven Development to Kiro Powers | dev.to | 2026-07-11

    We (Kiro and me) developed this approach while contributing to JavaParser, a 6,000+ star open source project with strict architectural standards. After receiving maintainer feedback on our first PR that highlighted 8 code quality issues (not bugs — the code worked, but it bypassed project abstractions), we realized: the AI needed to be onboarded properly.

  16. gogocode

    GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.

  17. JSqlParser

    JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern

  18. estree

    The ESTree Spec

    Project mention: Self-Healing CI/CD: Integrating Autonomous AI Agents for Automated Code Fixes | dev.to | 2026-09-30

    Abstract Syntax Tree (AST) Inspection and Code Refactoring Standards

  19. unified

    Parse, inspect, transform, and serialize content with syntax trees

    Project mention: T3Chat Cloneathon Postmortem | dev.to | 2026-11-04

    Honestly, this section should have been easy. As you might have already read on this blog, I really like the unified ecosystem, so I though I'd just bring in my setup and call it a day. Unfortunately, there were some performance issues (probably due to the rate of change of the text) that caused me to spend way too long on this than initially planned. I even tried moving the whole rendering logic to a web worker but couldn't manage to make it work in a timely manner. Fortunately that was a problem only when rendering new text, as when the new responses were done generating they were rendered to html and stored in the database - otherwise the app would have frozen for a lot longer than it ended up doing (silver lining, I guess?)

  20. cppinsights

    C++ Insights - See your source code with the eyes of a compiler

    Project mention: C++ Insights – See your source code with the eyes of a Compiler | news.ycombinator.com | 2026-10-01

    The tool can be found at - https://cppinsights.io/

  21. gritql

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

    Project mention: What is GritQL? | dev.to | 2026-03-02

    docs.grit.io/

  22. compodoc

    :notebook_with_decorative_cover: The missing documentation tool for your Angular, Nest & Stencil application

    Project mention: Building a Portfolio That Actually Demonstrates Enterprise Skills - Part 2 | dev.to | 2026-01-01

    Compodoc generates API documentation from TSDoc comments in the code. It targets core services and feature modules, producing documentation that includes dependency graphs, method signatures, and cross-references. The configuration excludes test and story files to keep the documentation focused on production code.

  23. participle

    A parser library for Go

    Project mention: Tried building GitHub's search box in Go | dev.to | 2026-07-23

    So I decided to build my own version in Go, using a neat little library called participle (by Alec Thomas) that lets you define a parser as a plain Go struct.

  24. rewrite

    Automated mass refactoring of source code.

    Project mention: Modernizando Java legado com IA - o que funciona e o que dá errado | dev.to | 2026-10-30
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).

Ast discussion

Log in or Post with

Ast related posts

  • How I built a request tracer for Laravel without a PHP extension

    2 projects | dev.to | 6 Nov 2026
  • Prettier: An Opinionated Code Formatter

    1 project | news.ycombinator.com | 4 Nov 2026
  • Upgrading an old PHP app in steps: the order we follow before PHP 8.2 runs out

    1 project | dev.to | 3 Nov 2026
  • Modernizando Java legado com IA - o que funciona e o que dá errado

    1 project | dev.to | 30 Oct 2026
  • Bun 1.4.4's bun fmt checks Prettier's own repository about 280 times faster than Prettier

    1 project | dev.to | 30 Oct 2026
  • When "Skipped" Means Two Different Things in Rust

    1 project | dev.to | 19 Oct 2026
  • A New Way to Test Retry Logic Without Refactoring Your JavaScript Code

    1 project | dev.to | 13 Oct 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 prettier 52,406
2 Babel (Formerly 6to5) 44,052
3 babel-parser 37,972
4 PostCSS 28,965
5 PHP Parser 17,464
6 ast-grep 16,467
7 Acorn 11,469
8 Rector 10,494
9 remark 9,035
10 esprima 7,141
11 js-code-to-svg-flowchart 7,108
12 astexplorer 6,544
13 ts-morph 6,219
14 JavaParser 6,172
15 gogocode 6,095
16 JSqlParser 5,973
17 estree 5,437
18 unified 5,051
19 cppinsights 4,686
20 gritql 4,618
21 compodoc 4,118
22 participle 3,902
23 rewrite 3,836

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

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