2 votes 2 votes every LL(k) grammer is also SLR(k) grammer. (true / false) Compiler Design compiler-design parsing ll-parser lr-parser true-false + – arch asked Nov 19, 2017 • retagged Jun 21, 2022 by Lakshman Bhaiya arch 320 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes False. if a grammar is LL(k) then it will surely pass by LR(k) parser but converse is not true. For example: if a grammar is LL(1) then it will be SLR(1) is not guaranteed, it may be LR(1) grammar but not SLR(1) grammar. Akash Mittal answered Nov 19, 2017 Akash Mittal comment Share Follow See all 0 reply Please log in or register to add a comment.