parser-generator
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 49 public repositories matching this topic...
Convenient parser generator for Python(check out https://github.com/thautwarm/RBNF for an advanced version).
-
Updated
Apr 5, 2018 - Python
Compiler in Python guided in the Tiny Compiler
-
Updated
Jun 8, 2018 - Python
This project's lifetime has ended. The successor is https://github.com/thautwarm/frontend-for-free which is WIP. You can check lark-parser project which is a good alt.
-
Updated
Nov 20, 2018 - Python
-
Updated
Feb 6, 2019 - Python
A implementation of LR(1) Parser or CLR Parser in Python3.
-
Updated
Feb 8, 2019 - Python
This repository have all my work I did during my summer Internship - 2018 at IIT Bombay. This repository have basics of shell programming, compiler design, parser, lexer and pointer analysis regarding works. For slides and other works contact me.
-
Updated
Apr 9, 2019 - Python
A compiler to translate regular expressions (regular grammars) and LL1 BNF languages (subset of context free grammars) to generated scanners and/or parsers.
-
Updated
May 27, 2019 - Python
Python implementation of the Python parser generator, pgen.
-
Updated
Jan 18, 2020 - Python
A partially self-hosting PEG parser generator 🐧
-
Updated
Feb 29, 2020 - Python
A compiler-compiler for lexers, LL and LALR grammars, written in python
-
Updated
Apr 2, 2020 - Python
Natural eXpression Parsing — A Python 3 parsing library.
-
Updated
May 10, 2020 - Python
This is a project as assignment in compilers_course@IIT Bhilai for cse2018 batch.
-
Updated
Jul 12, 2020 - Python
Fastest python pgen with rich features. Runtime support for generated parsers of RBNF.hs and a bootstrap with menhir-like syntax sugars.
-
Updated
Aug 2, 2020 - Python
一个微型的 LL/LR/LALR 语法解析器 | A micro compiler project to provide LL/LR/LALR syntax parser
-
Updated
Dec 3, 2020 - Python
An efficient Lexer and recursive decent parser for c++ language. Implemented in Python
-
Updated
Jan 9, 2021 - Python
A grammar-based generator and parser generator
-
Updated
Feb 27, 2021 - Python
Python 3 Compiler
-
Updated
May 19, 2021 - Python
- Followers
- 10.2k followers
- Wikipedia
- Wikipedia