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.
Snapdragon utility for creating a new AST node in custom code, such as plugins.
The Private Context Layer & Super Brain for Your Codebase. Give AI agents persistent memory, deep dependency graphs, and instant code context
Rector upgrades rules for Nette
Transform CommonJS modules into ES modules.
Source code for my blog · ✍️ 💻 👋
confirm that a SpiderMonkey format AST represents an ECMAScript program
Typed Rust and Rustler code generation from Elixir — quasiquoting, ASTs, and zero-handwritten-Rust NIF boundaries
Archived - moved to TomasVotruba/need-for-speed
yoyo is a local MCP server for repository reading and change work. It exists to make coding agents less hallucinated, more grounded, and more truthful...
A Lua 5.3 / 5.4 Lexer & Parser written in Pure Kotlin.
Convert ts source files into multiple languages
A TOML parser that produces output compatible with ESLint
HTML support for textlint
Gram in javascript.
A list of awesome tools and libraries which deals with ASTs in Ruby
GAQ(Go Ast Query) is the library to query ast.Node children like JavaScript querySelector or querySelectorAll for Go.
A pure Python library for benchmarked, scalable numerics using numba.
A toolkit to generate Python 3 source code from Pharo.
A library for package AST importing
Babel plugin that scans the AST for require calls and import statements
AST-aware code search and rewrite for the pi coding agent. Faithful port of the ast-grep tools from oh-my-openagent.
A better grep for AI agents. Structural search, call graphs, impact analysis, semantic compression. 87% fewer tokens. 16 languages. Built in Rust.
AST explorer for Scalameta trees
Surgically edit JSON & JSONC strings while preserving whitespace, comments, and formatting
magic-string with Babel AST shortcut.
Tool-building tools that can help parse, validate, or transform token streams
RuboCop extension for method sorting according to call order.
Lua to python compiler
HTML processor to parse and compile with browser APIs, powered by plugins
simple scope analysis for javascript ASTs
A macro-based generic visitor generator
Toolchains for VCL that parses, lints, formats, and transpiles
An example of how to use babel as a codemod
A Vscode extension for react PropTypes, Support command line
find python module imports
A scripting language used to learn the principles of compilation
(package) A Markdown to HTML parser for the browser and Node: one script tag or an import, with a JSON AST, on-demand Mermaid/KaTeX/Chart.js rendering...
JS processor powered by plugins part of the @unifiedjs collective
A command-line tool for analyzing and visualizing dependencies in NestJS applications.
SWC AST Viewer
MiniC语言编译器前端,生成抽象语法树,产生线性IR,生成控制流图
Simple `.pyi` stubs generator from thrift interfaces
Experimental AST-Based Source Code Similarity Detection Tool
Go Language Microsoft Excel™ Number Format Parser
parser combinator and AST generator in c++17
Slides of my talk about Practical AST at Front in Maring
OCaml bindings for clang
Build your ASTs directly from code
a cli based static python code reviewer