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)

analyzer
analyzer nestdotland JavaScript

Analyze and Detect broken and malicious JS/TS modules.

12
ast-cli
ast-cli Checkmarx Go

A CLI project wrapping application security testing (AST) APIs

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
pyvisualizer
pyvisualizer haider1998 Python

A deterministic, AST-verified call graph for any Python project — every edge traceable to a file:line. The reproducible, CI-gateable alternative to LL...

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
coldstart
coldstart AkashGoenka TypeScript

Self-maintaining and persistent codebase memory for AI coding agents — a deterministic AST index plus agent-written notes that flag themselves stale w...

11
ast_serialize
ast_serialize mypyc Rust

Fast Python parser that generates a serialized AST

11
Javascript-Cool
Javascript-Cool ktn1703 JavaScript

Next generation of javascript-obfuscation with 999% power.

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
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
vue-service-bay
vue-service-bay flyle-io TypeScript

Your One-Stop Solution for Vue.js Refactoring

11
gencpp
gencpp Ed94 C++

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

11
PyCalculator
PyCalculator SagarBiswas-MultiHAT Python

PyCalculator; A secure, beginner-friendly Python scientific calculator with a modern Tkinter GUI and an AST-based evaluator (no raw eval). Supports ar...

11
jsonvx
jsonvx bube054 Go

jsonvx is a highly configurable JSON parser, querier, and formatter for Go.

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
postdfm
postdfm spiltcoffee TypeScript

Provides an API for easily transforming Delphi Forms

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
bavary
bavary simonwep TypeScript

🧬 Regular expressions on steroids. Parse anything and everything with a syntax - crafted to parse syntax. A super-set of regular-expressions.

11
tsterser
tsterser banyudu JavaScript

UglifyJs/Terser written with Typescript

11
Daimaku
Daimaku Veallym0n Python

顾名思义,一个代码的数据库....

11
bulletproof
bulletproof tvinke Groovy

Groovy AST transformations, such as @ValueObject and @NonNull, which makes constructing an instance more bullet-proof.

11
ts-transform-react-jsx-source
ts-transform-react-jsx-source dropbox TypeScript

TypeScript AST Transformer that adds source file and line number to JSX elements

11
qnn-object-ast-handle
qnn-object-ast-handle wangzongming TypeScript

javascript literal object manipulation plug-in in code file | 代码文件中的js字面量对象操作插件

11
tproto
tproto wy-z Go

Parse golang data structure into proto3.

11
meet
meet uanhi C++

The Meet Language Interpreter

11
es
es LuoZijun Rust

A ECMAScript Parser and Interpreter written in Rust

11
codeatlas-mcp-server
codeatlas-mcp-server giauphan TypeScript

Local-first MCP server for AI-powered codebase intelligence — AST analysis, dependency graphs, and semantic search. Your source code never leaves your...

10