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)

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
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
gencpp
gencpp Ed94 C++

Staged metaprogramming in C/C++ for C/C++

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
analyzer
analyzer nestdotland JavaScript

Analyze and Detect broken and malicious JS/TS modules.

12
lox
lox ehomrich Python

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

12
postdfm
postdfm spiltcoffee TypeScript

Provides an API for easily transforming Delphi Forms

12
kiritobuf
kiritobuf rickyes JavaScript

Interface description language | Kirito ⚔

12
ast-buffer
ast-buffer alextsao1999 C

Fast incremental parsing using piece table and tree-sitter to generate syntax tree

12
panda
panda wupeaking Go

实现一个简单的脚本语言

12
gherkin-formatter
gherkin-formatter gherking TypeScript

Tool to format gherkin-ast model to gherkin string

12
estel
estel smelukov JavaScript

ESTree AST interpreter with dynamic analyzing

12
dash-ast
dash-ast goto-bus-stop JavaScript

walk an AST, quickly

12
esdispatch
esdispatch estools CoffeeScript

trigger events based on esquery selectors during a traversal of a SpiderMonkey format AST

12
babel-plugin-treasure
babel-plugin-treasure DTStack HTML

Base on babel-plugin-import , committed to achieving the AST optimization requirements of a unified library

12
parametrium
parametrium szymonkaliski JavaScript

Interactive parameter space explorer for P5.js

12
code2graph
code2graph NodeDB-Lab Rust

Source code → structural facts. A purpose-neutral, polyglot code-graph extraction library in Rust powered by tree-sitter. Turns source files into symb...

11
ContextOS
ContextOS yubinbin32-ops JavaScript

MCP server that reduces AI coding context waste by 90%+ via surgical AST reads, out-of-context receipts, and Metro Map architecture graph

11
rable
rable mpecan Rust

A complete GNU Bash 5.3-compatible parser written in Rust — 100% compatible reimplementation of Parable with Python bindings via PyO3, ~10x faster

11
gMark
gMark RoanH Java

gMark is a domain- and query language-independent query workload generator and query language utility library.

11
navegador
navegador ConflictHQ Python

AST + knowledge graph context engine for AI coding agents

11
oracle-sql-parser
oracle-sql-parser 1ilit PEG.js

Spec compliant SQL parser and AST explorer for Oracle

11
php-dump-plugin
php-dump-plugin j-plugins Kotlin

Intellij IDEA Plugin Exposes PHP internal stuctures

11
uiquarter
uiquarter fuatkeles TypeScript

Static analysis CLI for UI codebases. Component patterns, dependency graphs, architectural insights, and AI-optimized context generation.

11
typescript-ast-go
typescript-ast-go armsnyder Go

Library for parsing TypeScript source code into an abstract syntax tree (AST)

11
twinkies
twinkies m512i C

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

11
vue-service-bay
vue-service-bay flyle-io TypeScript

Your One-Stop Solution for Vue.js Refactoring

11
aesir
aesir nexentra Go

The Aesir Programming Language

11
jsonvx
jsonvx bube054 Go

A configurable JSON and JSON5 parser for Go. Strict by default; turn on comments, trailing commas, hex numbers and more one at a time. Errors with lin...

11
jscodeshift-react-i18next
jscodeshift-react-i18next BartoszJarocki TypeScript

jscodeshift transform that aims to extract hardocded strings in React applications

11
metrics-calculator-python
metrics-calculator-python minaschar Python

This is a tool written in python that calculates software quality metrics. It is specifically aimed at OOP Python softwares.

11
ts-ast-to-literal
ts-ast-to-literal dword-design TypeScript

Transform a TypeScript AST node into a real JS object.

11
css-simple-parser
css-simple-parser fabiospampinato JavaScript

A (S)CSS parser that's tiny, blazing fast and (too) simple.

11
Node-Estree
Node-Estree fraxken TypeScript

Complete and compliant ESTree spec implementation in TypeScript

11
enum-converter
enum-converter nitzano TypeScript

Convert enums from one language to another

11
py-refinement-lambda
py-refinement-lambda vdimir Python

Pyrefine – python code checker based on Hoare logic

11
vscode-ast-query
vscode-ast-query nikaspran TypeScript

Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries in Visual Studio Code

11
cl-bnf
cl-bnf diasbruno Common Lisp

A simple BNF parser.

11
json-schema-to-php-ast
json-schema-to-php-ast open-code-modeling PHP

Provides factories to create PhpParser node visitors or PHP Code AST class builder objects from JSON schema e. g. value objects

11
babel-plugin-no-side-effect-class-properties
babel-plugin-no-side-effect-class-properties naver JavaScript

This plugin transforms static class properties so that side effects do not occur and tree-shaking is activated.

11
fql
fql apicart PHP

Filter Query Language (FQL)

11
formula-parser
formula-parser rkirsling JavaScript

A parser class for simple formulae.

11
parse_css_in_js
parse_css_in_js chalecao JavaScript

前端编程进阶之DSL与AST实战解析教程代码,DSL&AST course code, 包含基于AST实现的css解析器

11
graphql-args
graphql-args smeijer JavaScript

A lib that parses the resolver ast, to return the requested object fields and provided params, at any nested level.

11