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 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
Port of pylint in Golang
print a babel AST with specific nodes highlighted, for debugging codemods
The JVM toy-compiler framework
Site for combined documentation, examples, external references, and other useful stuff.
An abstraction layer for creating generated logic.
The monkey programming language - https://interpreterbook.com/
A Go (golang) library for writing custom "go vet" style tests
Teaching resources and presentations I've given
Package astp provides AST predicates.
simple tool to autogenerate timing metrics using go ast
Go pre preprocessor (ast hacking experiment)
tdast utility to serialize tdast to a HTML table
GraphQL tag: easy mode
A developer tool for visualizing a React application's component hierarchy.
TxtAST to HTML string.
Package strparse provides convenience wrappers around `go/parser` for simple expr/stmt/decl parsing from string.
Convert Python Abstract Syntax Trees (ASTs) to readable source code.
Overload React componentās defaultProps using .corianderc file
Golang GraphQL AST helpers over the https://github.com/graphql-go/graphql package
Immutable JSON AST types with first-class Jackson support
tdast utility to transform a JS array into tdast
a webpack loader to import smarty template as AST
lox language