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)

ast-node-finder
ast-node-finder rajasegar TypeScript

AST Node Find api automatically generated from code

8
ast-parser
ast-parser daybrush JavaScript

ast parser

8
UnPlag
UnPlag scriptographers Python

:mag_right: A Plagiarism Detector for C++, Python and text files

8
estree-util-attach-comments
estree-util-attach-comments syntax-tree JavaScript

utility to attach comments to estree nodes

8
astequal
astequal go-toolsmith Go

Package astequal provides AST (deep) equallity check operations.

8
shinaCC
shinaCC AlanSwift C++

Yet Another Compiler for C

8
JOECC
JOECC jesings C

Jonathan's Optimizing and Extensible C Compiler (pronounced "joke"), called as such because the name, just like any attempt to use the compiler in pla...

8
aura
aura RootLUG Python

Project Aura: Security auditing and code introspection

8
vscode-gogrep
vscode-gogrep quasilyte TypeScript

Structural, syntax-aware search for Go code for VS Code.

8
remark-helpers
remark-helpers greybax JavaScript

Helper methods for remark

8
gopy
gopy Samyak2 Python

A compiler frontend for a subset of Go written in Python

8
mich-h
mich-h tunnckoCore JavaScript

:tada: Create HAST-compliant virtual dom trees of HTML using hyperscript compatible syntax or JSX, just in ~570 bytes.

8
babel-plugin-generator-prettier
babel-plugin-generator-prettier goto-bus-stop JavaScript

Babel plugin to use prettier for transformed code output

8
rocambole-node-remove
rocambole-node-remove sindresorhus JavaScript

Remove a rocambole AST node

8
rocambole-node-update
rocambole-node-update sindresorhus JavaScript

Update a rocambole AST node

8
ts-react-pure-class-plugin
ts-react-pure-class-plugin Saviio TypeScript

A TypeScript AST Transformer that transform class based pure component to functional component

8
StackOverflow-Joern
StackOverflow-Joern yang1young Python

Stackoverflow code extraction and analyze using Joern

8
remark-vue-loader
remark-vue-loader mactavishz JavaScript

A webpack loader that transforms your Markdown to Vue Single-file Component

8
codf
codf nilium Go

Config file parser for Go in the style of nginx.

8
humanize
humanize goraz Go

DEPRICATED : A simple human friendly :) ast representation for go, new version at https://github.com/fzerorubigd/humanize

8
query-translator-demo
query-translator-demo netgen PHP

Demo project for the Query Translator library

8
babel-normalize-comments
babel-normalize-comments babel-utils JavaScript

Merge comments together into a normalized string

8
pluggable-babel-eslint
pluggable-babel-eslint g-plane JavaScript

Pluggable babel-eslint.

8
walnut.v1
walnut.v1 p-ranav C++

The Walnut programming language

8
dlox
dlox rkirsling Dart

A Dart port of jlox, the Lox language's AST interpreter (http://www.craftinginterpreters.com/).

8
delphi-forms-parser
delphi-forms-parser continuous-delphi Pascal

[LIB] A standalone Delphi parser for VCL and FMX form files (.dfm/.fmx) in both text and binary formats. Produces a typed AST with full round-trip f...

7
typora-web
typora-web Albert-PZY TypeScript

A lightweight, high-fidelity web port of Typora.

7
genpark-monorepo-dependency-cycle-detector-skill
genpark-monorepo-dependency-cycle-detector-skill alphaparkinc Python

Monorepo dependency cycle resolver and topological build-order planner using Tarjan SCC and Kahn algorithms.

7
genpark-semver-breaking-change-auditor-skill
genpark-semver-breaking-change-auditor-skill alphaparkinc Python

Semantic versioning (SemVer 2.0) breaking change auditor inspecting AST public API surface diffs, parameter reordering, and removed exports.

7
fixrs
fixrs webc-site Rust

Blazing-fast CLI to replace Rust qualified paths with use statements, auto-fixing clippy::absolute_paths

7
gcraft
gcraft mahdyaralipor Go

Go code generator that creates Builder, Validator, Clone, and Mock boilerplate from struct/interface definitions using AST parsing

7
genpark-ast-import-dependency-rewriter-skill
genpark-ast-import-dependency-rewriter-skill Alpha-Park Python

Token-safe AST import re-aliasing and dependency migration engine safely replacing module paths and callsites without regex bugs.

7
genpark-codebase-dead-code-unreachable-pruner-skill
genpark-codebase-dead-code-unreachable-pruner-skill Alpha-Park Python

AST-level static call-graph analyzer and dead code pruner identifying orphaned functions, unreachable methods, and token-bloat clusters.

7
genpark-ast-import-dependency-rewriter-skill
genpark-ast-import-dependency-rewriter-skill alphaparkinc Python

Token-safe AST import re-aliasing and dependency migration engine safely replacing module paths and callsites without regex bugs.

7
genpark-monorepo-dependency-cycle-detector-skill
genpark-monorepo-dependency-cycle-detector-skill Alpha-Park Python

Monorepo dependency cycle resolver and topological build-order planner using Tarjan SCC and Kahn algorithms.

7
smartdiff
smartdiff opensensor Rust

Intelligent code diff using AST analysis. Compares code structure, not lines. Detects moved functions, refactoring patterns, and filters formatting no...

7
budment
budment budment Go

scenarios as ast, logic as code.

7
TLDRGraph
TLDRGraph vikrantd Python

Dynamic Multi-Layer Code Flow, Instant Semantic Call Tracing, and Interactive Architectural Navigation.

7
dosido
dosido jaredly TypeScript

Move functions, types, and files around in a typescript project, while keeping imports happy.

7
VibeGraph
VibeGraph madara88645 Python

Turn any Python codebase into an interactive call graph with AI-powered explanations — upload, explore, and learn.

7
react-to-react-native
react-to-react-native bibidu JavaScript

Transform React components to React Native automatically

7
ContextForge
ContextForge anujkushwaha612 JavaScript

Repository-aware execution runtime for Claude Code. AST-powered context optimization, transparent tool interception, and protocol translation for loca...

7
code2logic
code2logic semcod Python

High-performance Python code flow analysis with NLP query processing - CFG, DFG, call graphs, and intelligent code queries

7
cgx
cgx AayushBahukhandi Rust

Turn any Git repo into a queryable knowledge graph. Tree-sitter + git history + DuckDB + WebGL graph. MCP server for Cursor & Claude Code.

7
phantom
phantom Maelwalser Rust

Tired of git worktrees?

7
codebase-graph
codebase-graph Phoenixrr2113 TypeScript

Code knowledge graph and MCP search server with tree-sitter parsing, vector + reranker retrieval, and bitemporal knowledge.

7
aptu-coder
aptu-coder clouatre-labs Rust

aptu-coder: MCP server for AST analysis, call graphs, and code structure (tree-sitter)

7
ast2llm-go
ast2llm-go ast2llm Go

Powerful MCP-server that parses Go source code into AST and converts it into a clean, LLM-friendly format.

7
wikiast
wikiast tiddly-gittly TypeScript

Wiki AST transformation for WYSIWYG editor and advanced dynamic widgets in Tiddlywiki.

7
plib
plib Luna1996 Zig

collection of multiple modules, which includes a parser generator and parsers generated by it.

7