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)

idl2js
idl2js PrVrSs Python

Grammar-based Fuzzer that uses WebIDL as a grammar.

14
ast-node-builder
ast-node-builder rajasegar JavaScript

AST Node building api for jscodeshift

14
Pangoro
Pangoro utybo Kotlin

A Kotlin parser framework with an easy-to-use DSL

14
selery
selery danburzo JavaScript

A CSS selector parser and DOM query engine.

14
AopClearLog
AopClearLog feelschaotic Java

Clear sensitive logs using AST and APT. 利用AST语法树实现AOP思想

14
mini_vue
mini_vue xiaoai7904 JavaScript

mini版本Vue2.x,实现了Vue最核心部分代码(响应式,模版解析,事件绑定)

14
pprintast
pprintast clarketm Python

An AST pretty printer for Python 🐍

14
esprima-extract-comments
esprima-extract-comments jonschlinkert JavaScript

Extract javascript code comments with esprima. Thin wrapper to prove a simple interface for getting code comments from a string, file or glob of files...

14
Rattata
Rattata Azard Scala

:satisfied: Scala Abstract Syntax Tree(AST) pretty print tool

14
freAST
freAST lloydmeta Scala

Fast, simple Free Monads using ScalaMeta macro annotations. Port of Freasy-Monad.

14
tdast
tdast tdast

Tabular Data Abstract Syntax Tree

14
humanize
humanize fzerorubigd Go

ast representation of go package, in human :) friendly form

14
ruast
ruast mtshiba Rust

Printable & modifiable Rust AST

13
alpine-kit
alpine-kit zikojs

JSX support for ZikoJS

13
sgp
sgp OpenZeppelin Python

Solidity ANTLR4 grammar Python parser

13
logeye
logeye MattFor Python

Frictionless logging/tracing for Python! No debugger needed.

13
node-detective-amd
node-detective-amd dependents JavaScript

Get a list of all of the dependencies for an AMD module. Like node-detective, but for AMD syntax.

13
ore
ore itskarudo C++

🪙 The Ore Programming Language

13
security-ci-cd-pipelines
security-ci-cd-pipelines esidate

A bunch of security CI/CD pipelines cooked and ready

13
esgrep
esgrep ninofiliu TypeScript

Syntactically-aware grep for JavaScript and TypeScript

13
mapcss
mapcss TomokiMiyauci TypeScript

Tiny, composable Atomic CSS engine

13
lox
lox ehomrich Python

A Python implementation of the Lox language, from the book Crafting Interpreters by Bob Nystrom

13
mangudai
mangudai mangudai TypeScript

AoE2 Random Map Scripting for humans

13
stempler
stempler spiral PHP

[READ ONLY] Server-side html-component compiler and template engine. Subtree split of the Spiral Stempler component (see spiral/framework)

13
astree
astree knsh14 Go

tree command for Go AST

13
twig-ast
twig-ast ambassify JavaScript

Parses Twig templates into an AST

13
transform-ast
transform-ast goto-bus-stop JavaScript

transform an AST with source maps

13
jarlang
jarlang vereis Erlang

Erlang compiler which outputs ES6 spec JavaScript

13
BeC---compiler
BeC---compiler yangzebin001 C++
13
saul
saul yoland68 Python

Tool to use a parsed AST to understand its tokens and regenerate code, tool usage is bound by developer-client privelidge, better call saul.py! :+1::t...

13
yaml-ast
yaml-ast kavon Python

visualize an AST serialized as YAML

13
AutoGraphQL
AutoGraphQL namanmukund JavaScript

Stop spending AI tokens generating backend boilerplate. Define your GraphQL schema, let AI or Studio help you design it, and AutoGraphQL generates the...

12
locus
locus SylphxAI TypeScript

Merged into repomap (github.com/SylphxAI/repomap): code graph, hybrid BM25 search, call paths, impact and graph UI for AI agents.

12
codeatlas-platform
codeatlas-platform giauphan TypeScript

AI-powered codebase intelligence platform — MCP Server, AST analysis, Knowledge Graph, and semantic memory with SQLite + sqlite-vec. Analyze any code...

12
katana
katana vgmakeev Python

Source-free architecture maps and deterministic polyglot refactoring for AI coding agents

12
kavak
kavak toprakdeviren C

Embeddable C toolkit for building small language frontends.

12
Dorpn
Dorpn Dorpn-hub

Dorpn is a statically-typed, compiled programming language engineered to seamlessly integrate Python-like readability, high-performance execution, and...

12
morfx
morfx oxhq Go

Safe AST-based code transformations for MCP agents, standalone tools, and automation runtimes.

12
vex
vex tenatarika Rust

Fast hybrid code search built for AI agents

12
codegraph
codegraph cognitx-leyton Python

🕸️ Code knowledge graph for Claude Code & AI coding agents — index TypeScript, NestJS, React into Neo4j and query architecture in Cypher

12
codeclone
codeclone orenlab Python

Deterministic Structural Change Controller for AI-assisted Python development

12
twinkies
twinkies m512i C

Compiler for the Twinkies programming language compiles to a binary. Twinkies is a statically typed language with C-like syntax.

12
SkiaMarkdown
SkiaMarkdown wieslawsoltes C#

SkiaMarkdown is a GitHub Flavored Markdown (GFM) pipeline that parses Markdown into a strongly typed syntax tree, renders via SkiaSharp, and ships an...

12
aesir
aesir nexentra Go

The Aesir Programming Language

12
Stealthify-2.0
Stealthify-2.0 sirmilann Python

An efficient Python script to obfuscate code by renaming identifiers.

12
ssaviewer
ssaviewer kkHAIKE Go

a simple Golang SSA viewer tool that can be used for code analysis or to create a linter

12
node-ast-module-types
node-ast-module-types dependents JavaScript

AST helpers for recognizing CommonJS, AMD, and ES6 module types

12
astypes
astypes orsinium-labs Python

Python library to infer types for AST nodes. Make the most powerful Python linters and formatters!

12
gojacego
gojacego mrxrsd Go

gojacego is a calculation engine for Golang.

12
expression-language.js
expression-language.js slince TypeScript

🌴 An engine that can compile and evaluate expressions written in typescript

12