Skip to content

This project deals with an SLR(1) parser simulator using C++. Given the grammar rules it constructs the SLR(1) parsing table.

Notifications You must be signed in to change notification settings

karthikpeddi/SLR-parser-table-in-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SLR-parser-table-in-cpp

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.

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

No packages published

Languages