Topic

ast

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.

Repositories (1695)

arhus
arhus sudoeren TypeScript

local-first security analysis for TypeScript & JavaScript

9
ast-workshop
ast-workshop stefmolin Python

"Process, Analyze, and Transform Python Code with ASTs" workshop

9
nodiom
nodiom Synexiom-Labs TypeScript

Structured reads and writes for Markdown: give AI agents a reliable way to edit a document's structure without brittle string manipulation. The engine...

9
useful-codemods
useful-codemods codemod TypeScript

A collection of useful codemods made by Codemod.com

9
dummyIndex
dummyIndex MullaAhmed Python

Persistent context engine for Claude Code — turn any codebase into a .context/ folder Claude navigates instead of grepping. Deterministic AST backbone...

9
kida
kida lbliii Python

)彡 Kida — Free-threading template engine for Python 3.14+ with AST compilation and modern syntax

9
prysma
prysma prysma-llvm C++

To provide engineers with total control to forge high-performance systems.

9
cortex-ast
cortex-ast cortex-works Rust

A powerful Model Context Protocol (MCP) server and Omni-AST engine. It empowers AI agents to seamlessly parse complex codebases, execute secure cross-...

9
php-parser
php-parser wudi Rust

A fast PHP parser written in Rust

9
hast-util-from-lezer
hast-util-from-lezer joeltg TypeScript

Render styled Lezer syntax trees to hast

9
mimo
mimo bethropolis JavaScript

a simple programming language written in js.

9
hikma-engine
hikma-engine foyzulkarim TypeScript

A TypeScript-based code knowledge graph indexer that transforms Git repositories into searchable knowledge stores for AI agents. Creates interconnecte...

9
solc-json-parser
solc-json-parser sbip-sg Solidity

A Powerful AST Parser for Solidity

9
Geetest-Captcha-Crack
Geetest-Captcha-Crack tamya2020 JavaScript

Geetest 极验3代滑动验证 | 从 JavaScript 层面一步步逆向破解

9
rlox-interpreter
rlox-interpreter paulfedorow Rust

rlox-interpreter is an AST-walking implementation of Bob Nystrom's Lox language in Rust.

9
go-js-parser
go-js-parser 0xVesion Go

A JavaScript parser, written in Go.

9
PySniffer
PySniffer SinaraPimenta Python

PySniffer is a tool to analyze OpenSource Python projects hosted on GitHub, looking for the modules used .

9
solidity-parser-explorer
solidity-parser-explorer sambacha C

Solidity and Yul syntax-aware highlighting and AST explorer

9
Mini-C-Compiler
Mini-C-Compiler Ajitesh27 C

Compiler Design project on C Compiler Implementation

9
pytest-ast-transformer
pytest-ast-transformer okorolev Python

AST Transformer for tests integrated with py.test.

9
phptree-ast-generator
phptree-ast-generator loophp PHP

Generates Abstrax Syntax Tree (AST) of a PHP script in DOT (Graphviz) or Image (PNG, JPG, SVG) formats.

9
sql-ast
sql-ast aleclarson JavaScript

MySQL parser

9
dethklok
dethklok orsinium-labs Python

The most uncompromising Python code formatter ever!

9
ast-refactor
ast-refactor flatironhealth Python
9
astdump
astdump wingyplus Go

Golang AST dump command-line

9
elm-code-explorer
elm-code-explorer peterszerzo Elm

🗺️ Explore Elm code

9
js_ast
js_ast NautilusJS Java

Parses JavaScript source code to build an AST

9
module-definition
module-definition dependents JavaScript

Determines whether a JavaScript file is in the CommonJS, AMD, or ES6 format

9
jsonast
jsonast KnisterPeter TypeScript

a json to ast parser which allows error recovery

9
sdl
sdl railt PHP

[READ ONLY] Subtree split of the Railt SDL component (see railt/railt)

9
ideas
ideas syntax-tree

Share ideas for new utilities and tools built with @syntax-tree

9
idea-solidity-solhint
idea-solidity-solhint protofire Kotlin

JetBrains IDEA plugin to provide Solhint code verification

9
svelte-markup-walker
svelte-markup-walker kaisermann TypeScript

A Svelte preprocessor that allows to walk through the AST generated by the svelte parser and modify the markup with MagicString.

9
LambCompiler
LambCompiler jiahao42 C++

Compiler for a subset of ANSI C, base on virtual machine (unfinished)

9
dust
dust disruptek Nim

DUST is Unattended Syntax Truncation

9
bash-codegen
bash-codegen vorpaljs JavaScript

Bash source code generator

9
comment-to-assert
comment-to-assert azu TypeScript

[Archived] Move to monorepo

9
ast-finder
ast-finder rajasegar JavaScript

jscodeshift find api automatically generated from code

9
javascript-deobfuscator
javascript-deobfuscator lolcaken TypeScript

Deobfuscator for javascript-obfuscator 5.x output (string arrays, control-flow flattening, self-defending, RC4/base64)

8
sweetsyntax
sweetsyntax openpeeps JavaScript

SweetSyntax 🍭 A generic parser and AST explorer for analyzing programming languages

8
genpark-recursive-descent-ast-parser-skill
genpark-recursive-descent-ast-parser-skill Alpha-Park Python

Production-grade genpark-recursive-descent-ast-parser-skill skill for AI agents

8
genpark-recursive-descent-ast-parser-skill
genpark-recursive-descent-ast-parser-skill alphaparkinc Python

Production-grade genpark-recursive-descent-ast-parser-skill skill for AI agents

8
ast-explore
ast-explore stefmolin Python

Tool for exploring the AST of given Python source code.

8
erdify
erdify devsuit-berlin Python

A zero-dependency ERD generator for your Python models — pure AST, no database required.

8
codesynapse
codesynapse sohilladhani Rust

MCP server for code intelligence - maps source code into a knowledge graph so AI tools understand architecture, not just files. Built in Rust.

8
Nearoh-Coding-Language
Nearoh-Coding-Language ReeceGilbert C

Python-inspired language/runtime written in C with classes, lists, CLI tooling, and long-term low-level extensibility.

8
codemap
codemap stainless-code TypeScript

Cut AI-agent token waste ~90% — query a local SQLite structural index of your JS/TS/CSS codebase with SQL in one round-trip instead of 3–5 file reads....

8
flyql
flyql iamtelescope JavaScript

A lightweight, injection-proof query language for building type-safe SQL filters across Go, Python, and JavaScript.

8
protoast
protoast sirkon Go

Lightweight Protobuf AST & type resolver for Go. No C++ dependencies, pure Go.

8
pi-shazam
pi-shazam gjczone TypeScript

A native codebase awareness extension for the Pi coding agent — 7 structural analysis tools (overview, lookup, impact, verify, changes, format, rename...

8