编译Bottom-Up习题解答

1、已知文法G(S):S→aS|bS|a(1)构造该文法的LR(0)项目集规范族(2)构造识别该文法所产生的活前缀的DFA。(3)构造其SLR分析表,并判断该文法是否是SLR(1)文法。解题思路 构造

腾讯文库编译Bottom-Up习题解答编译Bottom-Up习题解答