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)

styn
styn renatorib TypeScript

:gem: A small, zero-dependency, extensible, object to css generator

42
asmdot
asmdot 71 Rust

[Unstable] Fast, zero-copy and lightweight (Arm | Mips | x86) assembler in (C | C++ | C# | Go | Haskell | Javascript | Nim | OCaml | Python | Rust).

42
pyastrx
pyastrx pyastrx Python

The PyASTrX philosophy is to provide a simple, easy-to-use, and extensible framework for code quality analysis, refactoring and codebase analysis.

41
filter-parser
filter-parser scim2 Go

SCIM v2 Query Filter Parser in Go

41
json-asty
json-asty rse JavaScript

Lossless JSON-to-AST Parser and AST-to-JSON Generator

41
CastXMLSuperbuild
CastXMLSuperbuild CastXML CMake

Build CastXML and its dependencies (LLVM/Clang)

41
graphql2ts
graphql2ts sibelius TypeScript

Transform .graphql to graphql-js typescript

41
bredon
bredon robinweser JavaScript

A modern CSS value compiler in JavaScript

41
grunt-amdcheck
grunt-amdcheck mahdi-shojaee JavaScript

Uses AST to find and remove unused dependencies in AMD modules.

41
1c-language-parser
1c-language-parser LazarenkoA Go

Парсер языка 1С (bsl) посредством yacc грамматик. Парсер строит AST

40
nast
nast dragonman225 TypeScript

A block-based intermediate representation for document-like content.

40
subpy
subpy sdiehl Python

Python subsets

40
codeql-development-mcp-server
codeql-development-mcp-server advanced-security TypeScript

LLM <-- MCP --> CodeQL( AST | CFG | CLI | LSP )

39
tbcnn.tensorflow
tbcnn.tensorflow bdqnghi Python

Reproduce the results of Tree-based Convolutional Neural Network (TBCNN)

39
DepView
DepView nettee Java

View code dependencies in a Java project

39
asty
asty rse TypeScript

Abstract Syntax Tree (AST) Data Structure

39
ts-emitter
ts-emitter KnisterPeter TypeScript

Emitting typescript AST back to typescript

39
HyperAST
HyperAST HyperAST Rust

Temporal code analyses at scale

38
Annotated-AST-For-LLM
Annotated-AST-For-LLM cameronking4 JavaScript

Annotated AST for the purposes of LLM code repository context. Use this novel approach to pre-process your Github repository. This project will genera...

38
org-to-markdown
org-to-markdown k2052 JavaScript

org mode to markdown/mdx

38
bsparser
bsparser lead-tools 1C Enterprise

[RIP] Парсер встроенного языка

38
vscode-ast
vscode-ast vscode-box TypeScript

Show JavaScript / TypeScript Abstract Syntax Tree

38
ast-viewer
ast-viewer caroso1222 TypeScript

🕺TypeScript AST Viewer

38
pascal-interpreter
pascal-interpreter ghaiklor JavaScript

A simple interpreter for a large subset of Pascal language written for educational purposes

38
reporecall
reporecall proofofwork-agency TypeScript

Local-first, auto-injecting context + memory layer for Claude Code, Codex and MCP. Per-prompt hook injection, explicit freshness/Trust Contract, AST i...

37
ast-mcp-server
ast-mcp-server angrysky56 Python

By transforming source code into a queryable Semantic Graph and a structured AST, this tool bridges the gap between "reading text" and "understanding...

37
infiniloom
infiniloom Topos-Labs Rust

High-performance repository context generator for LLMs - Transform codebases into optimized formats for Claude, GPT-4/5, Gemini, and other LLMs

37
node-detective-es6
node-detective-es6 dependents JavaScript

Get the dependencies of an ES6 module by traversing its AST

37
parse-function
parse-function tunnckoCore JavaScript

(!! moved to tunnckoCore/opensource multi-package repository !!) :trident: Parse a function into an object using espree, acorn or babylon parsers. Ext...

37
trueline-mcp
trueline-mcp rjkaes TypeScript

Smarter reads, safer edits. An MCP plugin that cuts token usage and catches editing mistakes before they hit disk. Supports Claude Code, Gemini CLI, G...

36
pfst
pfst tom-pytel Python

Format-preserving Python AST manipulation

36
sqlgpt-parser
sqlgpt-parser eosphoros-ai Python

sqlgpt-parser is a Python implementation of an SQL parser that effectively converts SQL statements into Abstract Syntax Trees (AST). By leveraging AST...

36
mogglo
mogglo langston-barrett Rust

Multi-language AST-based code search and rewriting tool that supports embedding Lua code in patterns

36
mexpr
mexpr danielgtaylor Go

Micro expression parser library for Go

36
talt
talt Quramy TypeScript

Template functions to generate TypeScript AST node object

36
ts-clone-node
ts-clone-node wessberg TypeScript

A library that helps you clone Nodes from a Typescript AST

36
hxjsonast
hxjsonast nadako Haxe

Parse JSON into position-aware AST with Haxe!

36
cLua
cLua esrrhs Go

A high-performance Lua code coverage tool with C++ collector and Go AST parser, supporting dynamic injection and LCOV reports.

35
TypeInferencer
TypeInferencer kekyo F#

Minimal type inference Algorithm W and Algorithm M in F#

35
estree-to-babel
estree-to-babel coderaiser JavaScript

convert estree ast to babel

35
markdown-tree-parser
markdown-tree-parser ksylvan JavaScript

A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures. Built on top of the battle-tested remark/un...

34
ScubaTrace
ScubaTrace SunBK201 Python

Source-level code analysis toolkit for SAST, context engineering, and AI coding

34
MetaStruct
MetaStruct PenzaStreetGames Jupyter Notebook

JIT-ускоритель программ на языке Python

34
inspect4py
inspect4py SoftwareUnderstanding Python

Static code analysis package for Python repositories

34
rehype-attr
rehype-attr jaywcjlove TypeScript

New syntax to add attributes to Markdown.

34
fastobo-py
fastobo-py fastobo Rust

Faultless AST for Open Biomedical Ontologies in Python.

34
eslint-traverse
eslint-traverse discord JavaScript

Create a sub-traversal of an AST node in your ESLint plugin

34
gradle2kts
gradle2kts gradle Kotlin

Gradle Groovy to Gradle Kotlin conversion tool - discontinued spike

34
eslint-plugin-require-sort
eslint-plugin-require-sort zcuric JavaScript

ESlint plugin for sorting requires (CommonJS modules) alphabetically

34
gecko
gecko vnmakarov SWIG

Gecko: a fast GLR parser with automatic syntax error recovery

33