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.
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
A Python library for extracting dependencies between statements
A compiler construction step by step
unified compliant file parser for docast
PHP-Parser is a PHP parser written in PHP, designed to make it easy to analyze and manipulate PHP code. It supports PHP versions 5.2 to 8.1 and can be...
The Chip Programming Language
A simple expression compiler, without libraries, written entirely in C#
BScript - AST Evaluation & Debugging
Verilog parser in nim
⚙️learn about babel under the hood
Eclipse Extensions by Christian Femers mainly for JDT
Cool compiler created with LLVM IR as intermediate code
Pydocspec is a object specification for representing API documentation of a collection of related python modules.
YAML modification program to parse, generate and modify yaml code and comments
qC - A compiler for a subset of the C language
Codemod for JavaScript Stuff (Jasat is shortname)
adapting Java AST mining tools to Python
Reaction rates and transport properties