Parser Building Toolkit for JavaScript
-
Updated
Nov 23, 2024 - TypeScript
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.
Parser Building Toolkit for JavaScript
Light and fast 🚀parser! With zero dependents. - Sql Parser Demo added!
Contains source-code for viewers following along with my Beginners Guide To Building Interpreters series on my Youtube Channel.
super fast pbxproj parser written in TypeScript
GreyScript transpiler/minifier/interpreter for Grey Hack written in JS.
A native Javascript TCL interpreter
CSS Lexer & Parser implementation for Deno
Grammar Well is a cross-platform compiler, parser, and/or interpreter written in TypeScript.
Syntax tree visualizer for tree-sitter
Writing an Interpreter in Go in TypeScript
A small toy imperative language (with some OOP features) for demonstrating and practicing language design/implementation.
An inline, fast, powerful and lightweight PEG parser generator for JavaScript and TypeScript, with semantic actions, parametrized rules, support for native regexps, error recovery, warnings, integrated AST generation and visitors, cut operator, back references, grammar merging, and a lot more.
🌴 An engine that can compile and evaluate expressions written in typescript
A simple lexer written entirely in JavaScript, with no dependencies!
String Tokenization Library in TypeScript