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.
A simple parser for doxygen docs
Custom implementation of calculator handling operator precedence and parentheses.
Agnostic and extensible transpiler for ASTs
java file tokenized diff based on myers algorithm.
Democritus functions for working with Python ASTs.
A simple imperative language primarily targeting low-performance microprocessors
Pisang is fun.
Python version of the super tiny compiler project
Work from my compilers class, in which we implemented an AST, a few optimizations, and linear scan register allocation for a subset of the C language.
Embeddable scripting language for C#. WIP. Goals: async/await, il bytecode, safe by default, performance.
Build a small Go compiler
useful abstractions over go ast
Reverse engineer and Web version of "Furnica" and "Cangourou"
AST Viewer for Dart language.
Experimental SQL parser for PostgreSQL
Reaction rates and transport properties
adapting Java AST mining tools to Python
Codemod for JavaScript Stuff (Jasat is shortname)
qC - A compiler for a subset of the C language
YAML modification program to parse, generate and modify yaml code and comments
Pydocspec is a object specification for representing API documentation of a collection of related python modules.
Cool compiler created with LLVM IR as intermediate code
Eclipse Extensions by Christian Femers mainly for JDT
⚙️learn about babel under the hood
Verilog parser in nim
A simple expression compiler, without libraries, written entirely in C#
The Chip Programming Language
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...
unified compliant file parser for docast
A compiler construction step by step
A Python library for extracting dependencies between statements
🐢 how far Go comments drifting behind
BScript - AST Evaluation & Debugging
🌲 Abstract Syntax Trees for C in Python.
A JavaScript bundler that makes modern code run inside a browser.
Demucast is a hybrid model for salving music genre classification problem.
Top-down and bottom-up parsers for JSON files with C++ API
An AST definition and JVM compiler for "episcopal" language (CS4201 coursework at st-andrews.ac.uk)
Mini parser written by me to showcase different stages of JSON parsing process.
A small linter for python code
kama prints exported information of types, variables, packages, modules, imports etc. It also pretty prints data structures. It can be used to aid deb...
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...
Neural Network predicts the name of a function by it's code snippet.
A toy parser for ECMAScript.
Convert docx to html (Not working)
default(options: Options = {}): Function;
The source code annotator project for final project
Transform a CSL list or object to a [jast][jast] node.
abstract syntax tree Tool