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 (1712)

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
Awesome-Delphi-AI
Awesome-Delphi-AI cihadkocasahan

Curated list of awesome tools, MCP servers, LSP intelligence, and AI-driven workflows for modern Delphi and Object Pascal development.

8
contextmap
contextmap Leoomk JavaScript

Local AST-powered Context Map & MCP Server for AI coding assistants — save tokens, map domino effects, and catch recurring AI bugs.

8
video-reverse-engineer
video-reverse-engineer Pranav-Conova Python

🎬 Reverse-engineer any viral video edit (TikTok, Reels, Shorts, trailers) into an AST: every cut, beat, zoom, transition and caption. Then re-render...

8
nomos
nomos mgantlett Go

Zero-token Go execution substrate between any coding agent and Git: Branch Guard & Day-0 debt ratchet, 42 polyglot AST anti-cheat gates, Shield Scorec...

8
archprint
archprint Tommkruix TypeScript

Infers architecture rules from your TypeScript repo's real import graph, gates each on statistical evidence, and emits them into the tools you already...

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
PYMEOMEO
PYMEOMEO zrsx Python

Advance obfuscater

8
arhus
arhus sudoeren TypeScript

local-first security analysis for TypeScript & JavaScript

8
erdify
erdify devsuit-berlin Python

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

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
z-codebase-memory-mcp
z-codebase-memory-mcp dajneem23 Zig

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-...

8
universal_modloader
universal_modloader drago-suzuki58 Python

A Mixin/Harmony-style modding framework for Python using AST injection. Modify function logic and local variables at runtime via simple decorators, wi...

8
luau-parser
luau-parser ssynical Luau

Fast lexer and parser for Luau with full AST support

8
phpstan-forbidden-nodes
phpstan-forbidden-nodes rajmundtoth0 PHP

PHPStan extension for banning AST nodes, functions, and method calls with path-based scoping

8
astrograph
astrograph Thaylo Python

An MCP server with tools to stop AI agents from writing duplicate code. Fixes legacy code using highly efficient algorithms.

8
search-syntax-parser
search-syntax-parser hosmelq PHP

Parse search queries into structured data with field searches, boolean logic, ranges, and lists.

8
neuro-forge
neuro-forge dinakars777 JavaScript
8
graph-rag-indexer
graph-rag-indexer dead8309 Python

Comparing vector-only RAG with GraphRAG (neo4j+milvus) for semantic and structural code search in JavaScript.

8
Quota
Quota dwseoh TypeScript

💵 Real-time financial intelligence for your codebase. Implemented via VS Code extension + Web Sandbox (Next.js, LangChain, Gemini, MongoDB)

8
J5afe
J5afe Lexterl33t JavaScript

Library to set breakpoint into the node of javascript code

8
estree-walker-ts
estree-walker-ts baiwusanyu-c TypeScript

🥑 Simple utility for walking an ESTree-compliant AST, such as one generated by acorn.

8
repo-map.nvim
repo-map.nvim mrloop Lua

Create repo map in nvim for use with LLM providing concise data for context window.

8
pingul
pingul aziflaj Go

An Interpreted Programming Language written in Go

8
ouro
ouro abdelrahman0w Python

ouro is a Python package that checks your code for circular (cyclic) imports.

8
type2md
type2md eleztian Go

golang struct type to markdown table

8
CoolCompiler
CoolCompiler laolarou726 C++

Stanford CS1/CS143 Compilers Course Project for COOL (Classroom Object-Oriented Language) in C++ using LLVM backend

8
solidity-testfiles
solidity-testfiles sambacha Solidity

contracts for testing parsing and ast transforms for solidity

8
glox
glox iamsayantan Go

Golang implementation for the Lox language from the book Crafting Interpreters (http://craftinginterpreters.com/).

8
tailslide
tailslide SaladDais LSL

(Unmaintained) Embeddable parser, AST, tree walker and compiler for the Linden Scripting Language based on LSLint

8
iamfast-vscode
iamfast-vscode iann0036 TypeScript

AWS IAM policy generation from application code in VS Code

8
gherkin-ast
gherkin-ast gherking TypeScript

JS model for Gherkin feature files to build and work with feature files in your code, using an AST.

8
NGG
NGG alexdremov C++

"Never gonna give you up" programming language

8
expr
expr muktihari Go

Expr is a simple, lightweight and performant programming toolkit for evaluating basic mathematical expression and boolean expression in a string.

8