A C++17 library for parser generation for LALR(1) languages
-
Updated
Jan 9, 2023 - C++
A C++17 library for parser generation for LALR(1) languages
A Tool for Intersecting Context-Free Grammars
Recompression technique of Artur Jez
Fast and space-efficient conversion from the LZ77 parsing to a grammar
Laboratory problems and solutions for the ITMO course "Discrete Mathematics".
[“形式语言与自动机”实验:给定任意上下文无关文法,将其转换为Greibach范式,再转换为NPDA,并能验证给定句子是否属于该文法。][Given an context-free grammar, convert it to Greibach paradigm, then to NPDA(i.e. Non-deterministic PushDown Automaton), and verify whether any sentence belongs to the grammar.]
This is a Context Free Grammer parser written with C++.
Program in C++ that reads a context-free grammar and removes the useless symbols and productions. After that, it generates a new simplified CFG in an output file.
A simple code compiler that compiles Pascal code with a syntax and contextual analyser (and production rules)
Finite state automata and regular expressions. Context-free grammars and pushdown automata. Turing machines. Models of computable functions and undecidable problems. The course emphasis is on the theory of computability, especially on showing limits of computation. May be taken for graduate credit.
Infer syntactic context-free grammar of an application's input
A parallel program to parse a string of symbols. The inputs are a context-free grammar G in Chomsky Normal Form and a string of symbols. In the end, the program should print yes if the string of symbols can be derived by the rules of the grammar and no otherwise.
MR-CFG builds a straight-line grammar using LCP-intervals
A repo containing some projects regarding Finite Languages and Automata
Earley Parser in C++
The project was created as a part of computer science classes at Warsaw University of Technology.
A C++ CFG program which can remove all left recursion
Automata implementations
Add a description, image, and links to the context-free-grammar topic page so that developers can more easily learn about it.
To associate your repository with the context-free-grammar topic, visit your repo's landing page and select "manage topics."