bnf
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 155 public repositories matching this topic...
Awarded as a Second Place Winner For Fall 2018 at the Computer Science Symposium at St.Mary's University in San Antonio Texas for developing a programming language at the Survey of Programming language course instructed and guided by Dr. Arthur Hanna. I have used the metalanguage BNF to specify SOL syntax. This project is not intended to be sold…
-
Updated
Jan 8, 2021
detecting python syntax errors given attribute grammar in BNF form
-
Updated
Mar 25, 2024 - Java
Simple parser for modified basicDTD LL(1) grammar written in Python
-
Updated
Feb 22, 2017 - Python
A notepad++ language for EBNF syntax highlighting.
-
Updated
Apr 24, 2018
First and follow calculator for CFG made in C
-
Updated
Apr 8, 2024 - C
Localisation de photographies de Gallica-BnF
-
Updated
Jul 23, 2024 - JavaScript
Recognizes a formatted Backus-Naur form rule-set and solves left-recursions, performs factoring, and finds first sets.
-
Updated
Jul 27, 2020 - Python
-
Updated
Mar 29, 2022 - Python
BNF parsing, formal grammar conversion, and string generation utilities in Python
-
Updated
Aug 6, 2022 - Python
- Followers
- 10.5k followers
- Wikipedia
- Wikipedia