Ast

Top 23 Ast Open-Source Projects

  • prettier

    Prettier is an opinionated code formatter.

  • Project mention: To Review or Not to Review: The Debate on Mandatory Code Reviews | dev.to | 2024-04-24

    Automating code checks with static code analysis allows us to enforce code styling effectively. By integrating tools into our workflow, we can identify errors at an early stage, while coding instead of blocking us at the end. For instance, flake8 checks Python code for style and errors, eslint performs similar checks for JavaScript, and prettier automatically formats code to maintain consistency.

  • Babel (Formerly 6to5)

    🐠 Babel is a compiler for writing next generation JavaScript.

  • Project mention: What is an Abstract Syntax Tree in Programming? | dev.to | 2024-04-05

    GitHub | Website

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • babel-parser

  • PostCSS

    Transforming styles with JS plugins

  • Project mention: PostCSS - my initial experience | dev.to | 2024-01-11

    the plugins in the official PostCSS website were old like IE6 or the marquee tag, and

  • PHP Parser

    A PHP parser written in PHP

  • Project mention: PHP-Parser: A PHP parser written in PHP | news.ycombinator.com | 2024-03-06
  • Acorn

    A small, fast, JavaScript-based JavaScript parser

  • Project mention: Abstract Syntax Trees and Practical Applications in JavaScript | dev.to | 2023-10-21

    Why do we then have other JavaScript parsers like babel parser, swc parser, acorn, espree and the likes since JavaScript engines have their own internal parsers?

  • Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

  • Project mention: Rector keeps your PHP code base fresh and perfect | dev.to | 2024-03-15

    As part of the journey to PHP perfection, you should embrace Rector. It's a amazing, free, and open-source tool for migrations, code quality, type coverage, pushing PHPStan to the highest levels, and yes, it can even auto-fix your existing code! It seamlessly integrates into the CI process, making your development workflow smoother than ever.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • remark

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

  • Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11

    I also didn't try this tool but it's called RemarkJS which is named too similar to revealjs.

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

  • Project mention: JS2flowchart – convert any JavaScript code into beautiful SVG flowchart | news.ycombinator.com | 2023-05-12
  • esprima

    ECMAScript parsing infrastructure for multipurpose analysis

  • Project mention: ESLint: under the hood | dev.to | 2023-11-07

    Focusing again on ESLint, the parser used by the linter is called Espree. This is an in-house parser built by the ESLint folks to fully support ECMAScript 6 and JSX on top of the already existing Esprima. The Espree module provide APIs for both tokenization and parsing that you can easily test out.

  • astexplorer

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

  • Project mention: Understanding Code Structure: A Beginner's Guide to Tree-sitter | dev.to | 2024-04-06

    You can play with your code here, and visualise ASTs for the same.

  • ast-grep

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

  • Project mention: AST-grep(sg) AST grep based on Treesitter | news.ycombinator.com | 2024-04-01
  • JavaParser

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

  • 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

  • estree

    The ESTree Spec

  • ts-morph

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

  • Project mention: Developing your own Chrome Extension - Fixing Errors with ts-morph and using Buns API (Part 4) | dev.to | 2024-03-03

    I recently came across an incredibly powerful tool called ts-morph. It's an Abstract Syntax Tree (AST) code analyzer and manipulator that can easily locate class declarations and their references. Just remember, it only works on TypeScript files. To use it, we created a new "build.ts" file and harnessed the full potential of Bun's API. Because ts-morph only understands TypeScript files, we bundled our files accordingly.

  • unified

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

  • Project mention: No CMS? Writing Our Blog in React | news.ycombinator.com | 2024-02-12

    From TFA:

    > My idea was that surely it's possible to write a bunch of markdown, and then have that get wrapped in a bunch of JSX tags that come pre-styled, using the styles of your existing repo? For example, what I expected was to be able to write *test* (Markdown for bold) and then get a component that looked liketest where is a library-defined React component

    It surely is possible, so perhaps I can share some links if others are wondering the same thing.

    If you like to roll your own solution for that, you can use the unified ecosystem: https://unifiedjs.com/

    However, if you want JSX just do what everyone does and reach for MDX:

  • compodoc

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

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

  • participle

    A parser library for Go

  • Project mention: Parser generator | /r/golang | 2023-09-14

    I know of tools like Kaitai that do essentially what I want, just curious about my options. I guess something like https://github.com/alecthomas/participle could work to parse the format, then I'd have to generate code based on the parsed data or something

  • ESDoc

    ESDoc - Good Documentation for JavaScript

  • escodegen

    ECMAScript code generator

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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 related posts

Index

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

Project Stars
1 prettier 48,241
2 Babel (Formerly 6to5) 42,901
3 babel-parser 37,972
4 PostCSS 28,181
5 PHP Parser 16,826
6 Acorn 10,215
7 Rector 8,207
8 remark 7,187
9 js-code-to-svg-flowchart 6,997
10 esprima 6,962
11 astexplorer 5,932
12 ast-grep 5,863
13 JavaParser 5,211
14 gogocode 5,196
15 JSqlParser 4,956
16 estree 4,952
17 ts-morph 4,574
18 unified 4,234
19 compodoc 3,952
20 cppinsights 3,484
21 participle 3,303
22 ESDoc 2,745
23 escodegen 2,615

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com