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.
A command-line search utility for Python ASTs using XPath syntax.
JSON AST parser
Strip console, alert, and debugger statements from JavaScript code
Tentative to a simple JavaScript AST modification library
Lightweight C parser for Rust
Syntax-aware grep for PHP code.
ast-grep VSCode is a structural search and replace extension for many languages.
Rector upgrade rules for Symfony
PHP Language Recognition Tool
Unleash the detectives
Natural Language Concrete Syntax Tree format
Parses bash into an AST
Easily migrate your existing React codebase to use i18n
Tentative to a simple JavaScript AST modification library
The Cub Programming Language
snapdragon is an extremely pluggable, powerful and easy-to-use parser-renderer factory.
Context-sensitive HexRays decompiler plugin that visualizes the ctree of decompiled functions.
minimalistic evaluator of python expression using ast module
A lexer and parser for GraphQL in .NET
:rocket: Very FAST :rocket: PHP AutoMapper with on the fly code generation
JSX for Go
Protocol Buffers for the rest of us
C# Expression Parser for Unity3D
Simple python source refactoring toolkit based on AST
Local-only Go static analysis engine with a built-in MCP server. Gives AI coding agents deterministic structural awareness: call graphs, impact analys...
Abstract Syntax Tree (AST) Query Engine
ProLeap ANTLR4-based parser for COBOL
TypeScript code generator via OpenAPI scheme.
Query Translator is a search query translator with AST representation
Simple Graphviz library for TypeScript.
Say NO to Python fragmentation on sync and async
Pretty print the output of python stdlib `ast.parse`.
An extensible Model Context Protocol (MCP-Local-MRL-RAG-AST) server that provides intelligent semantic code search for AI assistants. Built with local...
A Chrome extension for web analytics
User Guides For those new to the LLVM system.(LLVM系统的新用户指南,中文翻译版)
⚡️Blazing fast js bbcode parser, that transforms and parses bbcode to AST and transform it to HTML, React, Vue with plugin support in pure javascript...
We handle what engineers and IDEs won't: generating and maintaining technical documentation for your codebase, while also providing search with depend...
Python to CLike languages transpiler
Compile javascript to LLVM IR, x86 assembly and self interpreting
A simple plagiarism detection tool for python code
libpypa is a Python parser implemented in pure C++
This is an implementation of a compiler for a simple C-like language that uses the C tools Flex and Bison.
:rocket: A linter, formatter for finding and removing unused import statements.
A super tiny and fast html5 AST parser.
A command-line search utility for Python ASTs using XPath syntax.
A JavaScript AST parser, traverser, and generator written in Go
C/C++ source generation from an AST
Repository for iamfast questions and issues
A safe, zero-dependency expression language for rules, filters, and templates
util toolkit for go.golang 通用函数包