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)

ini
ini nonzzz Go

A standard golang ini parser

17
vast
vast JamesPhillipsUK Python

VisAST: Building and visualising Abstract Syntax Trees for Python code.

17
wasm-ast
wasm-ast misalcedo Rust

A Rust-native WebAssembly syntax model useful for generating, reading, and emitting WebAssembly code.

17
ini
ini wlevene Go

ini parser for golang

17
ruby-ast-explorer
ruby-ast-explorer rajasegar JavaScript

AST Explorer for ruby

17
SyntaxTree.jl
SyntaxTree.jl chakravala Julia

Toolset for modifying Julia AST and characteristic values

17
PSScriptingInventory
PSScriptingInventory jdhitsolutions PowerShell

A demonstration PowerShell module to analyze files for PowerShell commands.

17
ifshort
ifshort esimonov Go

Go linter for checking that your code uses short syntax for if-statements whenever possible.

17
vscode-tsquery
vscode-tsquery urish TypeScript

TSQuery extension for Visual Studio Code

17
unjquerify
unjquerify devbridie TypeScript

AST-based tool for converting jQuery code to modern vanilla JavaScript

17
markright
markright mudasobwa Elixir

A customizable markdown parser in Elixir: pure pattern matching.

17
qunit-migrate
qunit-migrate apsdehal JavaScript

Migrate old QUnit tests to 2.x. Uses regex and ASTs to convert old QUnit code.

17
KoragraphMCP
KoragraphMCP Koragraph JavaScript

The memory layer that gets better as you use it. What broke, why, what depended on what, even the "push this to Wednesday" kind of thing that never ma...

16
i18n-automatically
i18n-automatically wu529778790 JavaScript

VS Code 扩展:一键扫描中文并自动替换为 i18n Key,即时生成/更新多语言包,支持 Vue/React/TS/JS,内置免费翻译。

16
liminate
liminate rmichaelthomas Python

Liminate is a prose-as-syntax language designed from the human end.

16
ESGEM-AMR
ESGEM-AMR AMRverse SCSS

This is the webpage of the ESGEM-AMR Working Group

16
better-diff
better-diff ElianCordoba TypeScript

Aiming to be the next-gen `git diff`

16
java-adt
java-adt andreasabel Haskell

A tool to create immutable algebraic data structures and visitors for Java (such as abstract syntax trees).

16
pyright-ast-viewer
pyright-ast-viewer Zzzen TypeScript

Pyright AST viewer.

16
babel-plugin-function-try-catch
babel-plugin-function-try-catch xxxsf JavaScript

Based on ast, a babel plugin that automatically adds try/catch to functions.(基于ast,为函数自动添加 try/catch 的 babel 插件)

16
yaml-eslint-parser
yaml-eslint-parser ota-meshi TypeScript

A YAML parser that produces output compatible with ESLint

16
write_your_dynamic_language_runtime
write_your_dynamic_language_runtime forax Java

How to write interpreters or dynamic compilers for dynamically typed languages on top of the JVM

16
Compiler
Compiler VladimirBalun C++

🎓 Implementation of the primitive compiler without popular tools like LLVM for abstract programming language.

16
flutter_analyzer
flutter_analyzer rodydavis Dart

Flutter Analyzer for Flutter

16
ast_tools
ast_tools leonardt Python

Toolbox for working with the Python AST

16
bonsai
bonsai git-afsantos Python

Simplified interface for syntax trees and program models.

16
tsdoc-testify
tsdoc-testify akito0107 TypeScript
16
astranaut
astranaut slepher Erlang

traverse erlang ast and elixir macro in erlang.

16
ast-grep
ast-grep azz JavaScript

🔍 Like grep, but more powerful than you can possibly imagine

16
omakase
omakase salesforce CSS

Java-based, plugin-oriented CSS3+ parser

16
C90Compiler-EIE2
C90Compiler-EIE2 martinferianc C++

C90 to MIPS I Compiler done as a coursework for EE2-15

16
iterum
iterum ghaiklor TypeScript

Interpreter for a subset of ECMA specification implemented on top of recursive descent parser

16
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...

15
ast_serialize
ast_serialize mypyc Rust

Fast Python parser that generates a serialized AST

15
luax
luax syarul Lua

Template engine for writing HTML inside *.lua(x) files, like JSX.

15
circular-dependency-scanner
circular-dependency-scanner emosheeep TypeScript

Out-of-box circular dependencies detector, support js, jsx, ts, tsx, mjs, cjs, vue.

15
Ast
Ast MrKWatkins C#

Library to build an abstract syntax tree for use in compilers.

15
vartan
vartan nihei9 Go

An LALR parser generator for golang

15
grove
grove mintlify C

Universal AST parser built on Tree-sitter

15
css
css tbela99 PHP

A CSS parser and minifier and sourcemap generator written in PHP

15
crokus
crokus JC-LL Ruby

C parser written in Ruby, for experimental purpose

15
go-auto-commenter
go-auto-commenter diptomondal007 Go

A go tool to add comments automatically on all the exported functions in a go project

15
extjs2react
extjs2react bfischer1121 JavaScript

Convert ExtJS apps to React

15
minic
minic AlexP11223 Kotlin

A simple compiler for a C-like programming language to JVM bytecode. Kotlin, ANTLR

15
ts-transform-json
ts-transform-json longlho TypeScript

Inline specific values from a JSON file or the whole JSON blob

15
compiler
compiler olbat C

Compiler for a toy language (Lex & Yacc)

15
gotopython
gotopython mbergin Go

A work-in-progress Go to Python transpiler.

15
schema-node-csharp
schema-node-csharp kurapica C#

Executable Structured Semantic Language

14
kavak
kavak toprakdeviren C

Embeddable C toolkit for building small language frontends.

14
orven
orven naseridev TypeScript

MCP-compatible context and memory system: paged code navigation for AI assistants, plus a recorded, verified theory of what is known about the code.

14