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