YATTA: Yet Another Tool for Text Analysis - A toy bootstrapped parser generator
-
Updated
Jul 30, 2023 - C++
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.
YATTA: Yet Another Tool for Text Analysis - A toy bootstrapped parser generator
A code snippet repository that provides examples of how to use different syntax parser generator libraries. And some useful links in README.
Basic calculator program demonstrating the use of a parser generator for reading user input.
"Parser gramMar anaLyzer" - Context-Free Grammar analyzer and generator.
Ansible role to install Happy, the Parser Generator for Haskell
(Possibly, eventually) a PLR parser generator
Research of different parser generators
Repository containing examples of Python code I have written.
A benchmark of a simple Lisp parser defined in TreeSitter and a custom PEG generator.
Simple pure parser combinator in javascript
A parser generation utility for the BAALL language
CUP stands for Construction of Useful Parsers and is an LALR parser generator for Java. It was developed by C. Scott Ananian, Frank Flannery, Dan Wang, Andrew W. Appel and Michael Petter. It implements standard LALR(1) parser generation.
From the Bison 3.0.4 manual from https://www.gnu.org/software/bison/manual/bison.html
A syntaxic parser of an arithmetic expression using LEX and YACC, arithmetic expression evaluator with additional functions often used in expression evaluators and we are considering a part where the operands are non known and if the input expression is syntactically correct, to generate an intermediate form in the form of quadruplets and save i…
An experiment with LALRPOP and Kubernetes selectors
Cross-language context-sensitive parsing with type inference, left recursion resolutions and decision tree optimizations.
Discord management bot based on custom, domain-specific command langauge