0 0 votes For a grammar to be LR(k), it should have a PDA? Like a DPDA or just PDA in general? Compiler Design compiler-design parsing context-free-language pushdown-automata theory-of-computation + – Mizuki 954 views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply MiNiPanda commented Aug 31, 2018 reply Follow flag LR(k) is a DCFL. Anyhing that is not deterministic will never be determined by bottom up parser.. Eg: wwr 2 2 replyShare Mizuki commented Aug 31, 2018 reply Follow flag Thank you! 0 0 replyShare Deepanshu commented Sep 1, 2018 reply Follow flag @MiNiPanda U MEAN WHOLE BOTTOM UP PARSERS EVEN OPERATOR PRECEDENCE 0 0 replyShare MiNiPanda commented Sep 1, 2018 reply Follow flag From Knuth's original paper https://www.cs.dartmouth.edu/~mckeeman/cs48/mxcom/doc/knuth65.pdf 3 3 replyShare Please log in or register to add a comment.
0 0 votes DPDA DeadMann answered Oct 26, 2022 DeadMann comment Share Follow 0 reply Please log in or register to add a comment.