This project implements a C++ code which builds an SLR(1) parser table, given the production rules of a grammar. The code outputs the parsing process step by step and shows the status after each step. The SLR table is printed using C++ in which "ACC" denotes the entry for which the input is accepted after parsing. The only drawback of this code is that the grammar cannot contain terminals with length more than one.
-
Notifications
You must be signed in to change notification settings - Fork 10
karthikpeddi/SLR-parser-table-in-cpp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project deals with an SLR(1) parser simulator using C++. Given the grammar rules it constructs the SLR(1) parsing table.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published