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

cue-extensions
cue-extensions orpharion Go

CUE extensions

6
mpl
mpl kurotakazuki Rust

This is minimal parser combinator of Minimal Parsing Language (MPL) like Top-Down Parsing Language (TDPL).

6
SharpCalc
SharpCalc awtb C#

Simple mathematical expressions evalulator, created with AST & RD.

6
nb-autodoc
nb-autodoc nonebot Python

Powerful API Documentation Generator.

6
GPJSD
GPJSD pagpeter JavaScript

General purpose JavaScript deobfuscator using deob-transformations

6
luna
luna royvandijk06 HTML

LUNA: Library Usage in Node.js Analyzer

6
jsx-compilation
jsx-compilation Sunny-117 JavaScript

🍻 实现 JSX 语法转成 JS 语法的编译器

6
Regex2MDFA
Regex2MDFA BigFish2086 Jupyter Notebook

Input a Regex, get its AST, NFA, DFA and finally it Minimized DFA (Compiler Course Assignment)

6
findpydeps
findpydeps Nicolas-Reyland Python

Find the python dependencies used by your python files and projects

6
php-ast
php-ast php-ast C

Parsing PHP source code using Python and generating ASTs

6
p2r
p2r programmersd21 Python

🐍🚀 A static Python-to-Rust transpiler that converts type-annotated Python code into performant and idiomatic Rust, with built-in compilation and exe...

6
cyclocalc
cyclocalc Cycloctane C

Simple math expression evaluator written in C99. Based on Pratt Parsing.

6
golangpeekr
golangpeekr mwiater Go

Peer into the source code for a high-level view of how a package is constructed. This is a personal CLI tool built in Go, using Cobra, Viper, and the...

6
diesel
diesel pedro-gutierrez Elixir

DSL craft and declarative programming in Elixir

6
reader
reader php-type-language PHP

[READ ONLY] 📰 Library for reading TypeLang AST nodes from types exposed by PHP Reflection objects

6
luau-parser
luau-parser ssynical Luau

Fast lexer and parser for Luau with full AST support

6
reductio
reductio jedin01 Java

A powerful Java library for parsing, simplifying, and analyzing mathematical expressions with automatic function type identification using Abstract Sy...

6
c0compiler
c0compiler RRdebug C++

IMU的编译原理大作业,c0编译器(前端+后端)

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

6
i18n-hunt
i18n-hunt JeevesInc Rust

CLI to find unused i18n translation keys in JavaScript projects.

6
editor-extensions
editor-extensions konveyor TypeScript

VSCode extension for Konveyor.io

6
onnx-rs
onnx-rs universalmind303 Rust

zero dependency onnx parser

6
copy-paste-detector
copy-paste-detector shipmonk-rnd PHP

🪞 Structural code duplication detector for PHP. Detect copy pasted code in your PHP codebase.

6
unguard
unguard TwoAbove TypeScript

Unguard your code

6
react-to-react-native
react-to-react-native bibidu JavaScript

Transform React components to React Native automatically

6
deep-init
deep-init deepfusionlabs Python

Claude Code plugin that writes grounded, verified context for your coding agent — every claim checked against your code. Lean CLAUDE.md + deep docs, 1...

6
weld
weld configflux Python

Weld connected structure toolkit for agent-first repository discovery

6
code2logic
code2logic semcod Python

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

6
aptu-coder
aptu-coder clouatre-labs Rust

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

6
VibeGraph
VibeGraph madara88645 Python

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

6
Ripple-Mcp
Ripple-Mcp 0xYubo Python

字段级语义变更影响分析 MCP Server | Field-level semantic change impact analysis MCP server for Claude Code — pip install ripple-impact-mcp

6
Suma-lang
Suma-lang SumaRoder Python

Suma-lang is a programming language compiler implemented in Python. This repository contains the core compiler infrastructure for the Suma language.

6
dosido
dosido jaredly TypeScript

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

6
distill
distill arthjean JavaScript

Your agent wastes context. Distill fixes it.

6
kavak
kavak toprakdeviren C

Embeddable C toolkit for building small language frontends.

6
odlang
odlang Sameetpatro Go

A programming language with Odia-inspired keywords includes interpreter, REPL, and CLI built in Go.

6
py-ast
py-ast kriss-u TypeScript

A TypeScript library that parses Python source code into a CPython compatible AST, with full support for unparsing back to Python, tree traversal, and...

6
PlayAST
PlayAST WGrape JavaScript

抽象语法树的设计与实现 ( PlayAST : Play With Abstract Syntax Tree )

5
tspec
tspec wy-z Go

Parse golang data structure into json schema.

5
search-prototype.js
search-prototype.js azu JavaScript

Search usage of prototype.js in your codes.

5
clangml-transforms
clangml-transforms Antique-team OCaml

transformations from Clang AST to MemCAD AST

5
Compiler
Compiler dracarys983 C++

Compilers course project. Developed a compiler for a subset of C programming language (Decaf).

5
xon
xon xon-lang TypeScript

xon programming language

5
wazzup
wazzup jayphelps TypeScript

WebAssembly codegen, inspired by Binaryen. NOT intended for use, it was just created to learn the spec better.

5
imagen_rb
imagen_rb grodowski Ruby

Extracts data about modules, classes, methods and blocks from Ruby code

5
homebrew-infection
homebrew-infection infection Ruby

Homebrew tap for https://infection.github.io/

5
pycode2vec
pycode2vec NURx2 Python

The tool for getting embeddings of Python 3 code chunks

5
jscity
jscity peaonunes JavaScript

JavaScript projects visualised as 3D Cities

5
query-syntax-php
query-syntax-php skyrpex PHP

Parse Algolia-like queries into sort of a AST.

5
CodeAnalysisJava
CodeAnalysisJava abhishek9sharma Java

Generate AST For .java files

5