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.
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
The Private Context Layer & Super Brain for Your Codebase. Give AI agents persistent memory, deep dependency graphs, and instant code context
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
Parses a declarative filter object with $op(value) strings into a typed, database-agnostic filter AST. Zero dependencies, ~50 ns per call.
Quick speed comparison of tools that parse PHP code
A better grep for AI agents. Structural search, call graphs, impact analysis, semantic compression. 87% fewer tokens. 16 languages. Built in Rust.
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...
AST explorer for Scalameta trees
Surgically edit JSON & JSONC strings while preserving whitespace, comments, and formatting
SWC AST Viewer
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 TypeScript Markdown parser with a JSON AST, on-demand Mermaid/KaTeX/Chart.js rendering, and sanitized HTML output
JS processor powered by plugins part of the @unifiedjs collective
A command-line tool for analyzing and visualizing dependencies in NestJS applications.
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
AST-aware code search and rewrite for the pi coding agent. Faithful port of the ast-grep tools from oh-my-openagent.
Nomik is an AI-native code intelligence graph. It transforms your codebase into Neo4j and connects directly to AI agents via MCP.
🧵 Follow the thread through your codebase - find definitions, track references, and build call graphs with tree-sitter
Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still...
.NET Standard library for parsing and generating Graphviz DOT files.