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)

vivix
vivix HenryOnilude Svelte

See inside JavaScript as it thinks instruction-level visualizer for the call stack, heap memory and event loop in real time.

23
nomik
nomik willFreed1 TypeScript

Nomik is an AI-native code intelligence graph. It transforms your codebase into Neo4j and connects directly to AI agents via MCP.

23
ariadne
ariadne CRJFisher TypeScript

🧵 Follow the thread through your codebase - find definitions, track references, and build call graphs with tree-sitter

23
Sodium-Programming-Language
Sodium-Programming-Language Instruction-Oriented-Programming Python

Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still...

23
dotlang
dotlang abock C#

.NET Standard library for parsing and generating Graphviz DOT files.

23
prettier-transform
prettier-transform azz JavaScript

Perform AST transforms before running prettier

23
verilogAST-cpp
verilogAST-cpp leonardt C++

C++17 implementation of an AST for Verilog code generation

23
deco
deco vic Elixir

Minimalist Function Decorators for Elixir

23
macro
macro opennota Go

Expand macros in Go using go/ast. This repository has migrated to https://gitlab.com/opennota/macro

23
decaffeinate-parser
decaffeinate-parser decaffeinate TypeScript

A better AST for CoffeeScript, inspired by CoffeeScriptRedux.

23
EntropyAudit
EntropyAudit chuangtian Python

Static auditor for randomness and nonce hygiene in Python source - six rules for seeds, nonces, salts and weak hashes, each finding with a written rat...

22
filter-ast
filter-ast Zagorodnyi TypeScript

Parses a declarative filter object with $op(value) strings into a typed, database-agnostic filter AST. Zero dependencies, ~50 ns per call.

22
ARCLUX
ARCLUX GSF-001 TypeScript

Codebase intelligence platform — parse 27 languages, build dependency/call graphs, trace impact, run 20 architecture detectors, enforce framework conv...

22
AST2DB
AST2DB NarendraYSF C++

AST2DB is a powerful tool that utilizes clang to parse C/C++ source code, extract Abstract Syntax Tree (AST) information, and store it in an SQLite da...

22
codemod-utils
codemod-utils ijlee2 TypeScript

Framework for writing codemods

22
ctxexp-parser
ctxexp-parser Lydanne JavaScript

In the dynamic execution of JS language environment (wechat applet) to execute JS class calling function.

22
jsdast
jsdast geut JavaScript

JSDoc Abstract Syntax Tree

22
open-fortran-parser-xml
open-fortran-parser-xml mbdevpl Fortran

XML output generator for Open Fortran Parser, and Python wrapper for it.

22
xgo
xgo Kretech Go

Go Components

22
parsers-compilers
parsers-compilers begin

Lexers, tokenizers, parsers, compilers, renderers, stringifiers... What's the difference, and how do they work?

22
LebJS
LebJS LebsterFace Java

My attempt at a JavaScript engine

22
phpflow
phpflow patryyyck PHP

Static flow analyzer for PHP applications — trace routes through messages, services, database effects and external HTTP calls without running the app.

21
patchloom
patchloom patchloom Rust

Structured file edits for AI agents (JSON/YAML/TOML, markdown, AST, dry-run, MCP). Not a generic filesystem MCP.

21
vebgen
vebgen vebgenofficial Python

🤖 World's first AST-powered AI development agent | Autonomous Django/Flask builder | Zero-token intelligence | Military-grade sandbox | Made in India...

21
phpdoc-parser
phpdoc-parser RightCapitalHQ TypeScript

Next-gen PHPDoc parser with support for intersection types and generics(TypeScript version)

21
SoliDiffy
SoliDiffy mojtaba-eshghie Jupyter Notebook

SoliDiffy: AST-Based Code Differencing Tool for Solidity Smart Contracts

21
LuaPro
LuaPro vurvdev Lua

Lua AST toolkit for formatting, deobfuscating*, and tweaking code, in pure lua.

21
trialanderror
trialanderror TrialAndErrorOrg TypeScript

Monorepo for a suite of `unified`-compatible converters for converting between, from, and to .docx, JATS XML, LaTeX, and PDF

21
ast-transpiler
ast-transpiler carlosmiei TypeScript

AST Transpiler that converts Typescript into different languages (PHP, Python, C# (wip))

21
oracle-sql-parser
oracle-sql-parser sjjian Yacc

this is a yacc (goyacc) oracle sql parser.

21
goldmark-markdown
goldmark-markdown teekennedy Go

Goldmark extension that renders and formats markdown files

21
ninny-json
ninny-json nrktkt HTML

JSON typeclasses that know the difference between null and absent fields

21
html-ast-transform
html-ast-transform jspaine TypeScript

Transform html with helpers for manipulating an AST

21
snapdragon-util
snapdragon-util here-be JavaScript

Utilities for the snapdragon parser/compiler.

21
tree-sitter-syntax-visualizer
tree-sitter-syntax-visualizer Xapphire13 TypeScript

Syntax tree visualizer for tree-sitter

21
venusscript
venusscript JoaaoVerona Java

A dynamic, interpreted, scripting language written in Java.

21
Zith--
Zith-- Zith-Lang C++

Zith is a new system programming languages focused on expressiveness & readability

20
structuredmerge-ruby
structuredmerge-ruby structuredmerge HTML

☯️ Ruby implementation of the StructuredMerge contract

20
js-ast
js-ast xeho91 TypeScript

Do some fun with AST, using JavaScript.

20
headwind-monorepo
headwind-monorepo Dilettante258 Rust

Headwind parses Tailwind utility classes from JSX/TSX/HTML source code, replaces them with generated semantic class names, and outputs corresponding C...

20
LMOtelFY
LMOtelFY alexrios Go

Automagically insert Open Telemetry spans in your codebase.

20
Firethorn
Firethorn iwillspeak F#

Implementation of Red / Green syntax trees. Inspired by Rowan

20
syn-file-expand
syn-file-expand vi Rust

Rust library to scan files and expand (make modules inline) multi-file crates source code as a single tree.

20
ESpression
ESpression ianchi TypeScript

ECMAScript Expressions parser and static eval

20
MwParserFromScratch
MwParserFromScratch CXuesong C#

A basic .NET Library for parsing wikitext into AST.

20
bnf-ast
bnf-ast lfkdsk Java

Bnf-Ast Generator is a parser generator framework for parsing EBNF syntaxes with Java code. Unlike other EBNF-Parser must write config file (like yacc...

20
parser
parser edge-js TypeScript

Parser for edge template engine

20
goastch
goastch helloyi Go

golang AST matcher

20
astcopy
astcopy go-toolsmith Go

Package astcopy implements Go AST deep copy operations.

20
yastjson
yastjson zhuyingda JavaScript

yet another fast json.

20