SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Ast Open-Source Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Babel also already supports it, so the time is come 🤷♂️.
-
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.
-
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.
-
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.
-
Acorn
-
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.
-
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
-
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.
-
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.
-
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.
-
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
-
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-11We (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.
-
gogocode
GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
-
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
-
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
-
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?)
-
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/
-
docs.grit.io/
-
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-01Compodoc 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.
-
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.
-
Project mention: Modernizando Java legado com IA - o que funciona e o que dá errado | dev.to | 2026-10-30
Ast discussion
Ast related posts
-
How I built a request tracer for Laravel without a PHP extension
-
Prettier: An Opinionated Code Formatter
-
Upgrading an old PHP app in steps: the order we follow before PHP 8.2 runs out
-
Modernizando Java legado com IA - o que funciona e o que dá errado
-
Bun 1.4.4's bun fmt checks Prettier's own repository about 280 times faster than Prettier
-
When "Skipped" Means Two Different Things in Rust
-
A New Way to Test Retry Logic Without Refactoring Your JavaScript Code
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 Nov 2026
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 |