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

JavaParser-for-Scala
JavaParser-for-Scala Portfoligno Scala

Facilitate analysis of JavaParser AST by Scala pattern matching

7
javac-rs
javac-rs JarvisCraft Rust

Java compiler written on Rust aimed at better modularity and ease of extension

7
b28-cli
b28-cli moshang-xc JavaScript

对代码中的多语言词条进行提取,翻译替换等,提取词条输出excel文件,通过翻译后的excel文件进行词条的导入和替换。同时支持ExcelToJson, JsonToExcel

7
javascript-clone-detection
javascript-clone-detection felipelealdefaria JavaScript

Academic study project on JavaScript code duplication using AST parsing and string similarity.

7
tscer
tscer sonacy TypeScript

simple tool to quick transform jsx react project to tsx

7
putout-editor
putout-editor coderaiser TypeScript

http://putout.cloudcmd.io/

7
gwion-ast
gwion-ast Gwion C

Ast, lexer, parser, preprocessor for Gwion language

7
php-code-ast
php-code-ast open-code-modeling PHP

PHP code generation based on PHP Abstract Syntax Tree (AST) with an easy to use high level OO API. Reverse engineering of your PHP code is also suppor...

7
esish
esish ryanmcdermott Rust

Recursive descent parser written in Rust for an ECMAScript inspired language.

7
ProgrammingLanguages
ProgrammingLanguages TheAhmadOsman Python

:electric_plug: Programming Languages, Abstract Syntax Tree, Functional Programming, Logic Programming, Assembly, Disassembly, Python, Java, JCoCo VM,...

7
node-detective-postcss
node-detective-postcss dependents TypeScript

Find the dependencies of a CSS file (PostCSS dialect)

7
Unicorn
Unicorn seclerp F#

:unicorn: High-level programming language with CIL backend. Demo project for bachelor degree paper

7
parser
parser ts-graphviz TypeScript

Graphviz dot language parser for ts-graphviz.

7
ExprParsers.jl
ExprParsers.jl jolin-io Julia

Parse common Expr patterns. Speed up the process of defining stable macros.

7
typeorm-codebase-sync
typeorm-codebase-sync giladgd TypeScript

Automatically update your codebase to add migrations, entities and subscribers to your `data-source.ts` file

7
recast
recast putoutjs TypeScript

JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator (fork of https://github.com/benjamn/recast v0.23...

7
god-programming-language
god-programming-language Lexterl33t Go

I present you a small programming language that I created in golang

7
L1IR
L1IR andrew-johnson-4 Rust

Intermediate Representation of LSTS L1 Language

7
tl-v
tl-v l1mey112 V

A tiny, proof of concept, programming language.

7
imaginext
imaginext oslabs-beta TypeScript

This is a Next.js visualization tool that helps developers understand the structure of their Next.js app by displaying its file and folder hierarchy.

7
ngx-schematics-utilities
ngx-schematics-utilities DSI-HUG TypeScript

🚀 Useful utilities for Angular Schematics

7
ruby_parser
ruby_parser puntorigen JavaScript

Pure JS Ruby file parser

7
ast_explorer_cli
ast_explorer_cli lsaudon Dart

A Command-Line Interface for explorer flutter/dart simplified ast.

7
iguala
iguala aranega Python

Non-linear pattern matching for Python's objects, or a regexp-like for objects, query/match object graphs/tree/AST in a declarative way

7
Compiler-Course-Projects
Compiler-Course-Projects AliAtaollahi Java

UT Trade Compiler: Projects for the Design Compiler Course at the University of Tehran (Fall 2023)

7
Arc-compiler
Arc-compiler Prajwal-kp-18 Rust

A learning-focused compiler project written in Rust that has evolved from a simple arithmetic evaluator into a comprehensive expression language with...

7
c-compiler
c-compiler Prajwal-kp-18 C

A simple C-based compiler for parsing and evaluating arithmetic expressions, demonstrating tokenization, parsing (with operator precedence), AST const...

7
astToolkit
astToolkit hunterhogan Python

A toolkit for manipulating and transforming Python Abstract Syntax Trees (AST).

7
CarbunqleX
CarbunqleX mk3008 C#

CarbunqleX is a lightweight library that enhances the reusability and maintainability of RawSQL through advanced AST analysis.

7
QapGen
QapGen adler3d C++

AST/Visitors/Lexers/Parsers/Tokenizers generator

7
plib
plib Luna1996 Zig

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

7
wikiast
wikiast tiddly-gittly TypeScript

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

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
phpstan-forbidden-nodes
phpstan-forbidden-nodes rajmundtoth0 PHP

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

7
kida
kida lbliii Python

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

7
phantom
phantom Maelwalser Rust

Tired of git worktrees?

7
codexray
codexray NeuralRays TypeScript

X-ray vision for your codebase — semantic knowledge graph & MCP server with 16 tools that saves AI coding agents 30%+ tokens. TF-IDF search, call grap...

7
cargo-dupes
cargo-dupes mpecan Rust

A cargo subcommand that detects duplicate and near-duplicate code blocks in Rust codebases using AST normalization

7
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.

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
ContextForge
ContextForge anujkushwaha612 JavaScript

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

7
erdify
erdify devsuit-berlin Python

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

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
VibeGraph
VibeGraph madara88645 Python

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

7
PYMEOMEO
PYMEOMEO zrsx Python

Advance obfuscater

7
dosido
dosido jaredly TypeScript

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

7
TLDRGraph
TLDRGraph vikrantd Python

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

7
sweetsyntax
sweetsyntax openpeeps JavaScript

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

7
budment
budment budment Go

scenarios as ast, logic as code.

7
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...

7