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

bonsai
bonsai git-afsantos Python

Simplified interface for syntax trees and program models.

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

16
PSScriptingInventory
PSScriptingInventory jdhitsolutions PowerShell

A demonstration PowerShell module to analyze files for PowerShell commands.

16
SyntaxTree.jl
SyntaxTree.jl chakravala Julia

Toolset for modifying Julia AST and characteristic values

16
ast_tools
ast_tools leonardt Python

Toolbox for working with the Python AST

16
flutter_analyzer
flutter_analyzer rodydavis Dart

Flutter Analyzer for Flutter

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
Compiler
Compiler VladimirBalun C++

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

16
Ast
Ast MrKWatkins C#

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

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
better-diff
better-diff ElianCordoba TypeScript

Aiming to be the next-gen `git diff`

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
Fgpt
Fgpt kardaneh Jupyter Notebook

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

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
yaml-eslint-parser
yaml-eslint-parser ota-meshi TypeScript

A YAML parser that produces output compatible with ESLint

16
antislop
antislop skew202 HTML

A blazing-fast, multi-language linter for detecting AI-generated code slop

16
gotopython
gotopython mbergin Go

A work-in-progress Go to Python transpiler.

15
compiler
compiler olbat C

Compiler for a toy language (Lex & Yacc)

15
grove
grove mintlify C

Universal AST parser built on Tree-sitter

15
vartan
vartan nihei9 Go

An LALR parser generator for golang

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

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

15
minic
minic AlexP11223 Kotlin

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

15
extjs2react
extjs2react bfischer1121 JavaScript

Convert ExtJS apps to React

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
crokus
crokus JC-LL Ruby

C parser written in Ruby, for experimental purpose

15
i18n-automatically
i18n-automatically wu529778790 JavaScript

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

15
css
css tbela99 PHP

A CSS parser and minifier and sourcemap generator written in PHP

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

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

15
luax
luax syarul Lua

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

15
muad-dib
muad-dib DNSZLSK JavaScript

Real-time npm/PyPI supply-chain threat detection. Behavioral chain analysis, AST scanning, IOC feeds, and compound scoring engine.

15
airfly
airfly ryanchao2012 Python

Auto Generate Airflow's dag.py On The Fly

14
QoLang
QoLang QoLang Python

The Qo Programming Language

14
ecsstree
ecsstree AdguardTeam JavaScript

Adblock Extended CSS supplement for CSSTree

14
aurora
aurora guiferpa Go

:milky_way: An unconventional programming language that compiles to EVM bytecode.

14
sphinx-ext-mystmd
sphinx-ext-mystmd myst-contrib Python

Integrate existing Sphinx projects with MyST-MD

14
idl2js
idl2js PrVrSs Python

Grammar-based Fuzzer that uses WebIDL as a grammar.

14
humanize
humanize fzerorubigd Go

ast representation of go package, in human :) friendly form

14
mini_vue
mini_vue xiaoai7904 JavaScript

mini版本Vue2.x,实现了Vue最核心部分代码(响应式,模版解析,事件绑定)

14
selery
selery danburzo JavaScript

A CSS selector parser and DOM query engine.

14
pprintast
pprintast clarketm Python

An AST pretty printer for Python 🐍

14
esprima-extract-comments
esprima-extract-comments jonschlinkert JavaScript

Extract javascript code comments with esprima. Thin wrapper to prove a simple interface for getting code comments from a string, file or glob of files...

14
Rattata
Rattata Azard Scala

:satisfied: Scala Abstract Syntax Tree(AST) pretty print tool

14
AopClearLog
AopClearLog feelschaotic Java

Clear sensitive logs using AST and APT. 利用AST语法树实现AOP思想

14
freAST
freAST lloydmeta Scala

Fast, simple Free Monads using ScalaMeta macro annotations. Port of Freasy-Monad.

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

14
ast-node-builder
ast-node-builder rajasegar JavaScript

AST Node building api for jscodeshift

14
tdast
tdast tdast

Tabular Data Abstract Syntax Tree

14
Pangoro
Pangoro utybo Kotlin

A Kotlin parser framework with an easy-to-use DSL

14