grammar
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 183 public repositories matching this topic...
Simple parser for modified basicDTD LL(1) grammar written in Python
-
Updated
Feb 22, 2017 - Python
Generates a random string from a given grammar.
-
Updated
Feb 4, 2019 - Python
Lindenmayer system interpreter using turtle graphics in Python
-
Updated
Apr 2, 2019 - Python
Compiler Components
-
Updated
Jun 20, 2019 - Python
A compiler for a programming language called "bobaka" that I have created. The programming language is compiled to Python.
-
Updated
Oct 3, 2019 - Python
Learn programming language -- Python and practice the basic grammar and the GUI.
-
Updated
Dec 9, 2020 - Python
Source code of my procedural generation system for generating 3d trees for my bachelor thesis in 2017.
-
Updated
Jan 14, 2020 - Python
Python implementation of the famous Coco/R LL(k) compiler generator
-
Updated
Jun 26, 2023 - Python
Structured string parsing library
-
Updated
Sep 19, 2020 - Python
Grammatical Similarities in the Dialogues between Star Wars Characters
-
Updated
Sep 24, 2022 - Python
Parse English sentences to determine their structures using context-free grammer formalism.
-
Updated
Jul 14, 2022 - 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
Interview assignment for compiler costruction
-
Updated
Mar 24, 2018 - Python
A compiler to translate tree-adjoining grammars into abstract categorial grammars
-
Updated
Aug 2, 2018 - Python
generate random sentence using context free grammar
-
Updated
Feb 25, 2021 - Python
- Followers
- 10.3k followers
- Wikipedia
- Wikipedia