Ast

Top 23 Ast Open-Source Projects

  1. prettier

    Prettier is an opinionated code formatter.

    Project mention: 30 Best Free Tools for Frontend Developers in 2025 | dev.to | 2025-03-01

    Website: prettier.io

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Babel (Formerly 6to5)

    🐠 Babel is a compiler for writing next generation JavaScript.

    Project mention: Fixing Jest import failure | dev.to | 2024-07-29

    > 4 | import someConfig from '../config/SomeConfigs.json' with { type: 'json' }; | ^ 5 | 6 | /** Add @babel/plugin-syntax-import-attributes (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes) to the 'plugins' section of your Babel config to enable parsing. If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:

  4. babel-parser

  5. PostCSS

    Transforming styles with JS plugins

    Project mention: 30 Best Free Tools for Frontend Developers in 2025 | dev.to | 2025-03-01

    Website: postcss.org

  6. PHP Parser

    A PHP parser written in PHP

    Project mention: PHP 8.4 Released | news.ycombinator.com | 2024-11-21

    Once rector gets 8.4 rules out, this will be pretty awesome:

    https://github.com/rectorphp/rector/issues/8701

    https://github.com/nikic/PHP-Parser/commit/7b0384cdbe03431c4...

  7. Acorn

    A small, fast, JavaScript-based JavaScript parser

    Project mention: I built an open-source schema visualisation tool for mongoose | dev.to | 2024-05-14

    Since mongoose schemas are javascript files, I made use of acorn (https://www.npmjs.com/package/acorn) a javascript parser written in javascript 🙃 to build the AST.

  8. Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

    Project mention: Automating PHP Refactoring with Rector | dev.to | 2025-03-10

    Keeping code clean and updated is important in software development, but refactoring can take a lot of time, especially in big projects. PHP Rector is a tool that helps automate these changes, making sure your code follows best practices and modern PHP standards.

  9. SaaSHub

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

    SaaSHub logo
  10. ast-grep

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

    Project mention: Using ast-grep with a vue project | dev.to | 2024-12-31

    The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.

  11. remark

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

    Project mention: Introducing docusaurus-plugin-chat-page: An AI-Powered Chat Interface for Your Documentation | dev.to | 2025-02-22

    Processes and Chunks Content: Using tools like gray-matter and remark (with strip-markdown), the plugin extracts frontmatter (such as titles and tags) and converts the Markdown into plain text. Then it splits this content into manageable chunks (with configurable maximum chunk size) while preserving metadata like file paths.

  12. esprima

    ECMAScript parsing infrastructure for multipurpose analysis

    Project mention: Running Untrusted JavaScript Code | dev.to | 2024-07-21

    I'm particularly fond of Firecracker, but it’s a bit of work to set up, so if you cannot afford the time yet, you want to be on the safe side, do a combination of static analysis and time-boxing execution. You can use esprima to parse the code and check for any malicious act.

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

  14. astexplorer

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

    Project mention: Here's how to brew obfuscation in JavaScript without burning the lab: AST, Babel, plugins. | dev.to | 2025-01-09

    There are different solutions for working with JS code, with differences in the final AST. In this article, we will use babel for this purpose. You don't need to install anything, you can experiment with everything on such resource as astexplorer.

  15. gogocode

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

  16. JavaParser

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

  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. ts-morph

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

    Project mention: Show HN: I built an AI agent that upgrades NPM packages | news.ycombinator.com | 2024-05-10
  19. estree

    The ESTree Spec

  20. unified

    ☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees

  21. 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 | 2024-04-05

    Sorry, I don't know about an Emacs plugin. All the plugins/extensions I'm aware of are listed in the Readme.md: https://github.com/andreasfertig/cppinsights/#c-insights--vi...

    I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.

  22. compodoc

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

    Project mention: Générer des documentations pour une application Angular, Nest JS, Vue JS, Node JS | dev.to | 2024-07-20

    Découvrez la page officielle de Compodoc !

  23. participle

    A parser library for Go

  24. gritql

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

    Project mention: Refactoring with Codemods to Automate API Changes | news.ycombinator.com | 2025-01-10

    https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.

  25. ESDoc

    ESDoc - Good Documentation for JavaScript

  26. SaaSHub

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

    SaaSHub logo
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

  • Automating PHP Refactoring with Rector

    1 project | dev.to | 10 Mar 2025
  • Diffsitter: A Tree-sitter based AST difftool to get meaningful semantic diffs

    1 project | news.ycombinator.com | 7 Mar 2025
  • The Only 20 VS Code Extensions Web Developers Will Need in 2025

    2 projects | dev.to | 19 Jan 2025
  • Refactoring with Codemods to Automate API Changes

    1 project | news.ycombinator.com | 10 Jan 2025
  • Format Your Code Using Prettier Like a Pro

    1 project | dev.to | 7 Jan 2025
  • Types are the basic tool of software design

    5 projects | news.ycombinator.com | 3 Jan 2025
  • Using ast-grep with a vue project

    1 project | dev.to | 31 Dec 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Mar 2025
    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 50,120
2 Babel (Formerly 6to5) 43,441
3 babel-parser 37,972
4 PostCSS 28,690
5 PHP Parser 17,191
6 Acorn 10,823
7 Rector 9,440
8 ast-grep 8,311
9 remark 8,018
10 esprima 7,074
11 js-code-to-svg-flowchart 7,065
12 astexplorer 6,303
13 gogocode 5,824
14 JavaParser 5,708
15 JSqlParser 5,604
16 ts-morph 5,257
17 estree 5,212
18 unified 4,635
19 cppinsights 4,213
20 compodoc 4,043
21 participle 3,581
22 gritql 3,494
23 ESDoc 2,740

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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