lalr
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.
Here are 12 public repositories matching this topic...
A compiler-compiler for lexers, LL and LALR grammars, written in python
-
Updated
Apr 2, 2020 - Python
Academic project for The Compiler Desing course. Spring 2019
-
Updated
Jul 28, 2020 - Python
Bottom Up Parsers - Compiler Design
-
Updated
Dec 11, 2021 - Python
Este es un intérprete en el que se pueden realizar operaciones matemáticas básicas: suma, resta, multiplicación y división.
-
Updated
Mar 4, 2023 - Python
Parser Generator for LR(1) and LALR
-
Updated
Feb 13, 2024 - Python
A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/
-
Updated
Jun 7, 2024 - Python
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
-
Updated
Jun 30, 2024 - Python
- Followers
- 10.3k followers
- Wikipedia
- Wikipedia