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.
Strip debugger statements from a rocambole AST
200行代码实现的极简编译器
slides and code examples for talk on code generators in Go
Common Lisp Abstract Snytax Tree manipulation
auto generate template from gorm model struct,like select/upadate/insert and so on.
Surface (Java SecURity FlAws metriCs Extractor) - A lightweight command-line tool for computing security metrics from Java classes
Given a sentence this tool will simplify the sentence. This will be a Lexical Simplification
Simple string extraction tool for translation purposes
Strip console statements from a rocambole AST
CodeTranslate is a one-stop site for developers to rapidly scale-up in unfamiliar languages without having to memorize syntax, follow tutorials, or re...
An in-progress suite of parsing/transpilation tools for C#, Java, and TypeScript code. Generates simple JSON ASTs.
Golang protobuf AST helpers over the https://github.com/jhump/protoreflect/desc package
SQL parser library for D programming language.
Lightweight template parser for anything.
Snapdragon plugin for converting a cheerio AST to a snapdragon AST.
Transforms a list of object get paths to a GraphQL query
Migrated to https://gitlab.com/zxxlang/abnfa
Extra utilities and docs for the phpgrep
Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.
A next generation calculator
Tiny parser for simple CSS selectors, just in ~300 bytes. Pretty similar to what is done in Hyperscript
MIPS Compiler for MiniJava using JFlex, Beaver and JastAdd
Interact with Compiled Delegates' Syntax Trees Dynamically
在尽可能保持与vue2.x项目结构一致的同时,精简非核心代码,通过案例的形式描述vue核心(解析器-优化器-生成器-render函数-vnode-patch)闭环流程,易于对比vue...
The parser for Watt
Parses a subset of the Prisma 2 schema definition language
DEPRECATED: Transducer as alternative to visitors for ESTree AST traversal (moved into https://github.com/awto/effectfuljs/tree/master/packages/transd...
A Joos programming language compiler, written in Java.
Query JavaScript ASTs via xpath
Proof of Concept - Generating ESLint rules from test cases
A tremendously simple keyword-free functional programming language (concept)
Relational algebra for C++/Qt
Transform a CSL list or object to a [jast][jast] node.
The source code annotator project for final project
default(options: Options = {}): Function;
Convert docx to html (Not working)
A toy parser for ECMAScript.
Neural Network predicts the name of a function by it's code snippet.
build-compiler-js is a JavaScript library for building compiler for javascript. It provides a set of tools and utilities to simplify the process of cr...
kama prints exported information of types, variables, packages, modules, imports etc. It also pretty prints data structures. It can be used to aid deb...
A small linter for python code
Mini parser written by me to showcase different stages of JSON parsing process.
An AST definition and JVM compiler for "episcopal" language (CS4201 coursework at st-andrews.ac.uk)
Top-down and bottom-up parsers for JSON files with C++ API
Demucast is a hybrid model for salving music genre classification problem.
A JavaScript bundler that makes modern code run inside a browser.
🌲 Abstract Syntax Trees for C in Python.
🐢 how far Go comments drifting behind