I have to implement the construction of Simple LR parsing table, given the grammar productions in a file and then write the SLR table in another file and if possible parse a given string using the table.
I have attached the file specifying the Grammar for which the SLR parsing table has to be constructed
The implementation can be in C or Java
I have the compiler design 2 edition aho lam ullman sethi book where algorithms are given from page 241 to 255 and 1 edition aho sethi ullman from page 217 to 228
if anybody wants soft copy of these books i will be pleased to give
Please help me in this
I have also attached the algorithms necessary.
Simple Googling of SLR parsing construction yields algorithms which are very clear.