0 votes 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 asked Aug 31, 2018 • edited Sep 1, 2018 by Mizuki Mizuki 470 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply MiNiPanda commented Aug 31, 2018 reply Follow Share LR(k) is a DCFL. Anyhing that is not deterministic will never be determined by bottom up parser.. Eg: wwr 2 votes 2 votes Mizuki commented Aug 31, 2018 reply Follow Share Thank you! 0 votes 0 votes Deepanshu commented Sep 1, 2018 reply Follow Share @MiNiPanda U MEAN WHOLE BOTTOM UP PARSERS EVEN OPERATOR PRECEDENCE 0 votes 0 votes MiNiPanda commented Sep 1, 2018 reply Follow Share From Knuth's original paper https://www.cs.dartmouth.edu/~mckeeman/cs48/mxcom/doc/knuth65.pdf 3 votes 3 votes Please log in or register to add a comment.
0 votes 0 votes DPDA Psy Duck answered Oct 26, 2022 Psy Duck comment Share Follow See all 0 reply Please log in or register to add a comment.