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 (1548)

onnx-rs
onnx-rs universalmind303 Rust

zero dependency onnx parser

5
graphrag-code
graphrag-code cognitx-leyton Python

🕸️ Code knowledge graph for Claude Code & AI coding agents — index TypeScript, NestJS, React into Neo4j and query architecture in Cypher

5
codexray
codexray NeuralRays TypeScript

X-ray vision for your codebase — semantic knowledge graph & MCP server with 16 tools that saves AI coding agents 30%+ tokens. TF-IDF search, call grap...

5
Guardrail
Guardrail Manavarya09 TypeScript

The safety layer for AI-generated code. Scan and fix security issues, performance problems, and AI-specific anti-patterns. 22 rules. AST auto-fix. Zer...

5
kast
kast pannous Python

Canonical AST, the only Abstract Syntax Tree you need, with importers+exporters to all languages

4
astkit
astkit influx6 Go

Making your life easier working with Golang AST

4
NGGC
NGGC alexdremov C++

Compilable to Mach-O Never Gonna Give you up© programming language

4
lively.ast
lively.ast LivelyKernel JavaScript

Parsing JS code into ASTs and tools to query and transform these trees.

4
tryjs
tryjs norfish JavaScript

为代码自动加 try-catch,捕获异常。wrap function body with try-catch

4
atom-solidity-linter
atom-solidity-linter protofire JavaScript

Implement integration of Solhint linter to Atom editor

4
pyrsistent-mutable
pyrsistent-mutable scooby Python

Import hook to update pysistent values with imperative syntax.

4
ast-playground
ast-playground Colstuwjx Go

Ast travel for fun

4
i18nc
i18nc iGdea JavaScript

I18N Tool for JS files.

4
estel-estree-builder
estel-estree-builder smelukov JavaScript

ESTree compatible AST builder

4
estree-is-member-expression
estree-is-member-expression goto-bus-stop JavaScript

check if an AST node is a MemberExpression, in general or a specific one

4
tdast-util-from-csv
tdast-util-from-csv tdast JavaScript

tdast utility to parse csv into tdast (RFC-4180 compliant)

4
hast-util-to-snabbdom
hast-util-to-snabbdom syntax-tree

utility to transform to a Snabbdom tree

4
zirconium-ast
zirconium-ast roblox-aurora TypeScript

AST parser for the Zirconium DSL for Roblox

4
estree-assign-parent
estree-assign-parent goto-bus-stop JavaScript

assign `.parent` properties to all nodes in an ast.

4
kalem.rs
kalem.rs ferhatgec Rust

Fegeya Kalem.rs, Rust implementation of Kalem, work-in-progress.

4
reticulated-python
reticulated-python oxisto Kotlin

Reticulated Python is a Kotlin-based parser for the worlds largest snake.

4
AST-Server
AST-Server sadponyguerillaboy Python

AST Server in python for authenticating and handling diagnostic results for Apple Service Toolkit 1 ADR Server

4
Ceno-Script
Ceno-Script CenoOS C

new language for embeded system dev

4
react-from-json-fork
react-from-json-fork chrisvxd TypeScript

Declare your React component tree in JSON

4
lonzo
lonzo tchupp Rust

LR(1) parser for mathematical expressions

4
simple-shortcode-parser
simple-shortcode-parser AubreyHewes TypeScript

A simple shortcode parser

4
vscode-phpgrep
vscode-phpgrep quasilyte TypeScript

Structural, syntax-aware search for PHP code for VS Code.

4
skope
skope divyamamgai JavaScript

Get Global Declarations and Dependencies of a JavaScript resource.

4
meet-lang
meet-lang bingxio Go

Meet Programming Language Interpreter

4
JavaCodeParser
JavaCodeParser TruX-DTF Java

Convert a Java code fragment into an AST or a simple code tree.

4
ast
ast sequeljs TypeScript

@sequeljs/ast is a SQL AST manager for JavaScript.

4
Gago
Gago glaukiol1 Go

Interpreted Programming Language built in Go. Lexer, Parser, AST, VM.

4
hail-old
hail-old hail-lang Rust

a systems programming language that doesn't suck

4
compiler-course-project
compiler-course-project tornado80 Python

Pascal language compiler

4
Movie_Recommendation_System
Movie_Recommendation_System VGandhi27 Jupyter Notebook

The movies are recommended based on the content of the movie you entered or selected. The main parameters that are considered for the recommendations...

4
llang
llang lhwdev Kotlin

🚧 A toy project aiming a very good programming language..!

4
antlr-md
antlr-md WumaCoder TypeScript

使用 antlr4 开发的 markdown 解析器.

4
fluentcst
fluentcst argyle-engineering Python

An ergonomic way to build Python Concrete Syntax Trees.

4
goastpy
goastpy itayg25 Python

python wrapper for the built-in golang ast parser

4
django-translate-gettext
django-translate-gettext alpden550 Python

Updating django-apps files fields and wrapping it with gettext calling

4
lib.html
lib.html LambdAurora TypeScript

An HTML AST, parser, and writer library written in TypeScript.

4
code-comment-generator
code-comment-generator sameer52718 JavaScript

Automatically generate descriptive comments (JSDoc-style or inline) for JavaScript and TypeScript code using AST parsing.

4
E
E kraftwerk28 Python

A tremendously simple keyword-free functional programming language (concept)

3
asteroid
asteroid pnavarrc JavaScript

Proof of Concept - Generating ESLint rules from test cases

3
astx
astx amanvir JavaScript

Query JavaScript ASTs via xpath

3
jcompiler
jcompiler jrbeverly Java

A Joos programming language compiler, written in Java.

3
estransducers
estransducers awto JavaScript

DEPRECATED: Transducer as alternative to visitors for ESTree AST traversal (moved into https://github.com/awto/effectfuljs/tree/master/packages/transd...

3
migration-artefacts
migration-artefacts deprecated-packages PHP
3
prisma2-sdl
prisma2-sdl jednano TypeScript

Parses a subset of the Prisma 2 schema definition language

3
parser
parser WattLang C++

The parser for Watt

3