若A→α B β是一个产生式,则把_______加至FOLLOW(B)中。(A)
A: FIRST(β)\{ε}
B: FIRST(α)\{ε}
C: FIRST(β)\{#}
D: FIRST(α)\{#}
A: FIRST(β)\{ε}
B: FIRST(α)\{ε}
C: FIRST(β)\{#}
D: FIRST(α)\{#}
举一反三
- 根据自顶向下语法分析的基本思想,在分析前必须求文法G的产生式的SELECT集合来判断文法是否为LL(1)文法,若A->a是文法G的一条产生式,以下哪些计算可能是该产生式的SELECT的值() A: FIRST(a) B: FOLLOW(A) C: FIRST(a)ÈFOLLOW(A) D: FIRST()
- Mary was ______ in the exam. A: a first B: first C: the first D: one
- The monitoring and control of epidemic diseases should follow the principle of ( ). A: prevention first B: Treatment first C: Self breeding D: scientific rearing
- 中国大学MOOC: 若A→α B β是一个产生式,则把_______加至FOLLOW(B)中。
- Stephanie fell in love with Alex ______. A: at first sight B: at a first sight C: at the first sight D: at first sights