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.
在尽可能保持与vue2.x项目结构一致的同时,精简非核心代码,通过案例的形式描述vue核心(解析器-优化器-生成器-render函数-vnode-patch)闭环流程,易于对比vue...
Interact with Compiled Delegates' Syntax Trees Dynamically
MIPS Compiler for MiniJava using JFlex, Beaver and JastAdd
Tiny parser for simple CSS selectors, just in ~300 bytes. Pretty similar to what is done in Hyperscript
A next generation calculator
Relational algebra for C++/Qt
Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.
Extra utilities and docs for the phpgrep
Migrated to https://gitlab.com/zxxlang/abnfa
Transforms a list of object get paths to a GraphQL query
Snapdragon plugin for converting a cheerio AST to a snapdragon AST.
Lightweight template parser for anything.
SQL parser library for D programming language.
Golang protobuf AST helpers over the https://github.com/jhump/protoreflect/desc package
An in-progress suite of parsing/transpilation tools for C#, Java, and TypeScript code. Generates simple JSON ASTs.
CodeTranslate is a one-stop site for developers to rapidly scale-up in unfamiliar languages without having to memorize syntax, follow tutorials, or re...
Strip console statements from a rocambole AST
Simple string extraction tool for translation purposes
Given a sentence this tool will simplify the sentence. This will be a Lexical Simplification
Surface (Java SecURity FlAws metriCs Extractor) - A lightweight command-line tool for computing security metrics from Java classes
auto generate template from gorm model struct,like select/upadate/insert and so on.
Common Lisp Abstract Snytax Tree manipulation
slides and code examples for talk on code generators in Go
200行代码实现的极简编译器
Strip debugger statements from a rocambole AST
CHAOTIC EVIL PRE-ALPHA WIP
ARCHIVED, SEE: https://github.com/go-toolsmith/astp Collection of Go AST predicates
An intelligent documentation generator for Ecmascript, Typescript, and Flowtype
My first compiler written for course Compiler Construction and Formal Languages D7050E
Check if something can be an ecmascript (javascript) identifier name
A parser for the OScript language written in JavaScript. With an AST walker, a syntax checker (lint) and a code-executing interpreter.
[READ ONLY] Automatic dependency injection using AST modifications. Subtree split of the Spiral Prototype component (see spiral/framework)
Compiler for a subset of the C programming language.
vscode extension that shows a friendly representation of current TypeScript/JavaScript source file's AST in the activity bar. Supports filtering and d...
AST Analyser in Java
Programatically untype your Python code.
symbolic math on Go
AST for the XP Framework
Core shell scripting language design and interpreter proposed for HelenOS's BDSH shell system. Includes prototype implementation using AST and provisi...
compare java source files as logical structure
A simple version of Assembly, written in Rust
View for calcit.cirru
Solidity Parser for Coverage Testing utilizing new Peggy PEG.js Parser
A Go (golang) linter that finds mutations.
Creates a list of all storage calls with their signature and parameters
Exploring Scala 3 Compiler Trees
Predicting Python method name given an Abstract Syntax Tree
[WIP] Build and render TypeScript using JSON