Abstract
Given a context-free grammarG with a cycle of productionsA 1 →A 2 α 1,A 2 →A 3 α 2, ...,A m →A 1 α m, it is shown that there is a grammarG 1 in which the only left-recursive rules are of the formA 1 →A 1 α, andL(G 1)=L(G). Using this normalization it is then shown that a Boolean matrix used in the analysis phase of some syntax-directed translation schemes may be partitioned into rectangular and upper-triangular submatrices.
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have