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 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
Experimental SQL parser for PostgreSQL
AST Viewer for Dart language.
Reverse engineer and Web version of "Furnica" and "Cangourou"
useful abstractions over go ast
Build a small Go compiler
Embeddable scripting language for C#. WIP. Goals: async/await, il bytecode, safe by default, performance.
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.
Python version of the super tiny compiler project
Pisang is fun.
A simple imperative language primarily targeting low-performance microprocessors
Democritus functions for working with Python ASTs.
java file tokenized diff based on myers algorithm.
Agnostic and extensible transpiler for ASTs
Custom implementation of calculator handling operator precedence and parentheses.
A simple parser for doxygen docs
matrix-calculator syntax parser
C0语言的词法分析和抽象语法树(AST)分析器
Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.
A full blown compiler generator with a goal of a clear design and huge flexibility. It even gives you access to error handling and further analysis.
Compute mathematical expressions via abstract syntax tree. Built with Java and ANTLR4.
Meet Programming Language
javascript ast for xss jsonP
go+lua=gua (experimental programming language)
A Read–Eval–Print Loop (REPL) and Better Bash Lang & Compiler written in C++
Tool to read/write Gherkin feature files and to work with Gherkin-AST
This linter plugin for SublimeLinter provides an interface to solhint
PYthon Grep: Python syntax-aware grep
Pretty format plugin to print ASTs prettier
A new language based on Monkey language
⚡️ Headless (Bring your own UI) Drag and Drop Form Builder for React
This is a parser that I created using ANTLR. This parses the translation unit file generated by GCC when using the -fdump-translation-unit flag.
Find all JavaScript variables used in pug template