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)

jarlang
jarlang vereis Erlang

Erlang compiler which outputs ES6 spec JavaScript

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

A bunch of security CI/CD pipelines cooked and ready

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

transform an AST with source maps

13
astree
astree knsh14 Go

tree command for Go AST

13
yaml-ast
yaml-ast kavon Python

visualize an AST serialized as YAML

13
twig-ast
twig-ast ambassify JavaScript

Parses Twig templates into an AST

13
lox
lox ehomrich Python

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

13
sgp
sgp OpenZeppelin Python

Solidity ANTLR4 grammar Python parser

13
logeye
logeye MattFor Python

Frictionless logging/tracing for Python! No debugger needed.

13
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
node-ast-module-types
node-ast-module-types dependents JavaScript

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

12
ssaviewer
ssaviewer kkHAIKE Go

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

12
estel
estel smelukov JavaScript

ESTree AST interpreter with dynamic analyzing

12
Stealthify-2.0
Stealthify-2.0 sirmilann Python

An efficient Python script to obfuscate code by renaming identifiers.

12
formula-parser
formula-parser rkirsling JavaScript

A parser class for simple formulae.

12
gherkin-formatter
gherkin-formatter gherking TypeScript

Tool to format gherkin-ast model to gherkin string

12
panda
panda wupeaking Go

实现一个简单的脚本语言

12
ast-buffer
ast-buffer alextsao1999 C

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

12
kiritobuf
kiritobuf rickyes JavaScript

Interface description language | Kirito ⚔

12
queryforge
queryforge awsaman-ai Go

Let your users ask your database anything, in their own words — safely. The model fills in a validated Query AST, never a query string, and determinis...

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
gojacego
gojacego mrxrsd Go

gojacego is a calculation engine for Golang.

12
Fgpt
Fgpt kardaneh Python

FGPT is an AST-based transpiler that converts production scientific Fortran into NumPy Python and optional JAX/Equinox modules for GPU acceleration an...

12
aesir
aesir nexentra Go

The Aesir Programming Language

12
morfx
morfx oxhq Go

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

12
Javascript-Cool
Javascript-Cool ktn1703 JavaScript

Next generation of javascript-obfuscation with 999% power.

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

Analyze and Detect broken and malicious JS/TS modules.

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

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

12
parametrium
parametrium szymonkaliski JavaScript

Interactive parameter space explorer for P5.js

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

Transform a TypeScript AST node into a real JS object.

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
uiquarter
uiquarter fuatkeles TypeScript

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

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
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
ruast
ruast mtshiba Rust

Printable & modifiable Rust AST

11
navegador
navegador ConflictHQ Python

AST + knowledge graph context engine for AI coding agents

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
parse_css_in_js
parse_css_in_js chalecao JavaScript

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

11
es
es LuoZijun Rust

A ECMAScript Parser and Interpreter written in Rust

11
TeaRAGs-MCP
TeaRAGs-MCP artk0de TypeScript

The code intelligence layer for AI coding agents. Semantic indexing, graph navigation, and repository intelligence

11
meet
meet uanhi C++

The Meet Language Interpreter

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
vex
vex tenatarika Rust

Fast hybrid code search built for AI agents

11