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.
Compilers' assignment of a programming language named UC using Lex, Yacc, LLVM and C.
Friendly simple calculator
Logging code automation solution
Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets,...
Lexer, parser, and evaluator for Nix files, written in D-lang
The language Basic taught in many schools as their first language of students, is now implemented in Urdu(ish).
Compiler (parsing, code gen, type cast/checking) for MeggyJava (including variable/function/class)
:dog: If there are no dogs in Heaven, then when I die I want to go where they went.
Reinventing the wheel, building angular.js from scratch
traverse erlang ast
Unified algorithms for different programming languages, necessary when porting code from one programming language to another.
Finding profanity in code
Get the objective-c call-hierarchy information of an Xcode project using libClang
The simplest abstract syntax tree walker, similar with @Babel plugin.
A simple interpreter
Client for Umwelt
Context Free Grammar "Parsing with Derivatives", in Python
A better way to view a compact JS abstract syntax tree
visit and mapVisit methods for snapdragon nodes.
Pattern identifying tool
Package astinfo records useful AST information like node parents and such.
Adds a location object to snapdragon token or AST node.
Presentation of the life of an instruction in LLVM / Clang at LSE week
Parser for Apache Lucene Classic Queries
Small language to describe languages. Produces ast, parser, traverser in Rust, and syntax highlighting for vscode.
Bridge between SPAN and Clang
A LaTeX parser, in Go
Webpack Parent Context Plugin
Snapdragon plugin that adds a capture method to the parser instance, which allows you to capture tokens with a single line of code
4️⃣ 2️⃣ The return of the Vengeance from the past!
Do you like compilation? 😗
Package astcast wraps type assertion operations in such way that you don't have to worry about nil pointer results anymore.
a webpack loader to import pug template as AST
Snapdragon plugin that adds an `isInside` method to the compiler instance for checking if a node is currently inside a given node type.
A simple yet modular C-like compiler
Typescript AST tooling for creating transforms and collecting metadata about Angular projects.
The assignments of the course Principles of Programming Languages in Ben Gurion University, Israel.
Lua Average Parser
You ever wanted to browse your discord server from a terminal? Look no further DiscordQL aims to be a CLI interface with your discord bot.
A brainfuck interpreter and compiler written in C++
A plugin for SourceJS 0.6.x to display ES modules dependencies in a spec
View a graph of your project
🐭 Parse and split SCSS files based on functions and mixins.
Test Automation Script using Qt
Python's built-in libraries include powerful tools for retrieving and operating over abstract syntax trees. This article provides an overview of how t...
CSS parser and compiler
HTML parser and compiler
Implementation of a Java compiler for a small programming language
Simple programming language in Rust