Changed followset to work on states, fixed many bugs. Kraken now should have a fairly legitimate LALR(1) parser. (null productions have not yet been added.)
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -69,8 +69,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
std::cout << programInputFileString << std::endl;
|
||||
NodeTree* parseTree = parser.parseInput(new Lexer(programInputFileString));
|
||||
parser.printFirstSets();
|
||||
parser.printFollowSets();
|
||||
|
||||
if (parseTree) {
|
||||
std::cout << parseTree->DOTGraphString() << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user