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.
Eureka is a fluent API surrounding the internal Javac tree code that allows developers to perform compile-time AST changes in Java more easily.
A simple DSL for defining abstract syntax trees in Nim
CUE extensions
This is minimal parser combinator of Minimal Parsing Language (MPL) like Top-Down Parsing Language (TDPL).
Simple mathematical expressions evalulator, created with AST & RD.
Powerful API Documentation Generator.
General purpose JavaScript deobfuscator using deob-transformations
LUNA: Library Usage in Node.js Analyzer
🍻 实现 JSX 语法转成 JS 语法的编译器
Input a Regex, get its AST, NFA, DFA and finally it Minimized DFA (Compiler Course Assignment)
Find the python dependencies used by your python files and projects
Parsing PHP source code using Python and generating ASTs
🐍🚀 A static Python-to-Rust transpiler that converts type-annotated Python code into performant and idiomatic Rust, with built-in compilation and exe...
Wiki AST transformation for WYSIWYG editor and advanced dynamic widgets in Tiddlywiki.
Simple math expression evaluator written in C99. Based on Pratt Parsing.
Peer into the source code for a high-level view of how a package is constructed. This is a personal CLI tool built in Go, using Cobra, Viper, and the...
actuallyEXPLAIN is a visualizer that helps you understand logical intent in complex PostgreSQL queries in a diagram and dictionarized form.
DSL craft and declarative programming in Elixir
PHPStan extension for banning AST nodes, functions, and method calls with path-based scoping
)彡 Kida — Free-threading template engine for Python 3.14+ with AST compilation and modern syntax
📰 Library for reading TypeLang AST nodes from types exposed by PHP Reflection objects
Fast lexer and parser for Luau with full AST support
A powerful Java library for parsing, simplifying, and analyzing mathematical expressions with automatic function type identification using Abstract Sy...
Flag missing docstrings and, optionally, generate them from signatures and type annotations.
IMU的编译原理大作业,c0编译器(前端+后端)
抽象语法树的设计与实现 ( PlayAST : Play With Abstract Syntax Tree )
Parse golang data structure into json schema.
Search usage of prototype.js in your codes.
transformations from Clang AST to MemCAD AST
Compilers course project. Developed a compiler for a subset of C programming language (Decaf).
xon programming language
WebAssembly codegen, inspired by Binaryen. NOT intended for use, it was just created to learn the spec better.
Extracts data about modules, classes, methods and blocks from Ruby code
Homebrew tap for https://infection.github.io/
The tool for getting embeddings of Python 3 code chunks
JavaScript projects visualised as 3D Cities
Parse Algolia-like queries into sort of a AST.
This package is used to parse vue script section and it provides an interface to add, update and delete entities of different life cycles hooks of Vue...
Generate AST For .java files
A toy typed-check compiled language
Go AST utility package
DOT Language
A Go package implementation of real-time computing
A program convert simple C / C++ code to Visual Basic 6 code
Package astfmt implements ast.Node formatting with fmt-like API.
static analysis/refactoring tool for Java code based on abstract syntax tree and symbol solving
Compiler and Interpreter for a c-like language flatB using flex scanner, bison parser and llvm code generator framework
a tiny lalr and glr generator that can generate json ast
Utils for working with Vue 3 AST nodes
Gwion lexer, parser and absyn