A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Prettier is an opinionated code formatter.
🐠 Babel is a compiler for writing next generation JavaScript.
Transforming styles with JS plugins
A PHP parser written in PHP
⚡A CLI tool for code structural search, lint and rewriting. Written in Rust
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
markdown processor powered by plugins part of the @unifiedjs collective
Expression language and expression evaluation for Go
ECMAScript parsing infrastructure for multipurpose analysis
js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG flowchart. Learn other’s code. Design your code. Refactor cod...
A web tool to explore the ASTs generated by various parsers.
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Patte...
:books: 《Go语言定制指南》(原名:Go语法树入门/开源免费图书/Go语言进阶/掌握抽象语法树/Go语言AST)
The ESTree Spec
Parse, inspect, transform, and serialize content with syntax trees
GritQL is a query language for searching, linting, and modifying code.
C++ Insights - See your source code with the eyes of a compiler
:notebook_with_decorative_cover: The missing documentation tool for your Angular, Nest & Stencil application
A parser library for Go
Automated mass refactoring of source code.
ESDoc - Good Documentation for JavaScript
ECMAScript code generator
Deobfuscate obfuscator.io, unminify and unpack bundled javascript
Blazing fast Markdown / CommonMark rendering in Swift, built upon cmark.
A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you lik...
A tool for refactoring code related to feature flag APIs
A developer tool to visualize a React application's component hierarchy.
natural language processor powered by plugins part of the @unifiedjs collective
A tree-sitter based AST difftool to get meaningful semantic diffs
A very fast and versatile markdown toolchain. Output to AST, React, React Native, SolidJS, Vue, HTML, and more!
PHP Mutation Testing library
HTML processor powered by plugins part of the @unifiedjs collective
a python refactoring library
small, safe, and great commonmark (optionally gfm, mdx) compliant markdown parser
A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations
SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source f...
A meta-language for Go that adds Result types, error propagation (?), and pattern matching while maintaining 100% Go ecosystem compatibility
Syntax highlighting, like GitHub
Library to parse and work with the C++ AST
Graphical Python debugger which lets you easily view the values of all evaluated expressions
PSA: moved into babel/babel as @babel/parser -->
Markdown Abstract Syntax Tree format
Rector upgrades rules for Laravel
Transpiler of Python to many other languages
🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.
A 100% compliant, self-hosted javascript parser - https://meriyah.github.io/meriyah