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)

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

13
sphinx-ext-mystmd
sphinx-ext-mystmd jupyter-book Python

Integrate existing Sphinx projects with MyST-MD

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

13
sgp
sgp OpenZeppelin Python

Solidity ANTLR4 grammar Python parser

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

gojacego is a calculation engine for Golang.

12
ore
ore itskarudo C++

🪙 The Ore Programming Language

12
node-ast-module-types
node-ast-module-types dependents JavaScript

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

12
Stealthify-2.0
Stealthify-2.0 sirmilann Python

An efficient Python script to obfuscate code by renaming identifiers.

12
aesir
aesir nexentra Go

The Aesir Programming Language

12
parametrium
parametrium szymonkaliski JavaScript

Interactive parameter space explorer for P5.js

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
esdispatch
esdispatch estools CoffeeScript

trigger events based on esquery selectors during a traversal of a SpiderMonkey format AST

12
dash-ast
dash-ast goto-bus-stop JavaScript

walk an AST, quickly

12
gecko
gecko vnmakarov SWIG

Gecko: a fast GLR parser with automatic syntax error recovery

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
formula-parser
formula-parser rkirsling JavaScript

A parser class for simple formulae.

12
gencpp
gencpp Ed94 C++

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

12
fql
fql apicart PHP

Filter Query Language (FQL)

11
tproto
tproto wy-z Go

Parse golang data structure into proto3.

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

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

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
Node-Estree
Node-Estree fraxken TypeScript

Complete and compliant ESTree spec implementation in TypeScript

11
bulletproof
bulletproof tvinke Groovy

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

11
Daimaku
Daimaku Veallym0n Python

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

11
jsonvx
jsonvx bube054 Go

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

11
tsterser
tsterser banyudu JavaScript

UglifyJs/Terser written with Typescript

11
vuex-map-purge
vuex-map-purge potato4d TypeScript

Convert Vuex map utils to computed / methods.

11
ecsstree
ecsstree AdguardTeam JavaScript

Adblock Extended CSS supplement for CSSTree

11
ssaviewer
ssaviewer kkHAIKE Go

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

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
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
ziko-jsx
ziko-jsx zikojs JavaScript

JSX support for ZikoJS

11
jscodeshift-react-i18next
jscodeshift-react-i18next BartoszJarocki TypeScript

jscodeshift transform that aims to extract hardocded strings in React applications

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

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

11
vue-service-bay
vue-service-bay flyle-io TypeScript

Your One-Stop Solution for Vue.js Refactoring

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
css-simple-parser
css-simple-parser fabiospampinato JavaScript

A (S)CSS parser that's tiny, blazing fast and (too) simple.

11
es
es LuoZijun Rust

A ECMAScript Parser and Interpreter written in Rust

11
meet
meet uanhi C++

The Meet Language Interpreter

11