Bottom Up Parsers - Compiler Design
-
Updated
Dec 11, 2021 - Python
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.
Bottom Up Parsers - Compiler Design
Academic project for The Compiler Desing course. Spring 2019
Este es un intérprete en el que se pueden realizar operaciones matemáticas básicas: suma, resta, multiplicación y división.
A compiler-compiler for lexers, LL and LALR grammars, written in python
Parser Generator for LR(1) and LALR
A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.