Abstract

To generate an equivalentλ-free context free grammar from an arbitrary CFG, the most efficient algorithms described in the literature increase the size of the grammar by a factor, polynomial in terms of the number of nonterminals maximally occuring on the right hand side of a production. In this paper, we present an algorithm to generate aλ-free CFG whose total space requirement (or its size) is limited to seven times the initial size. The correctness of our algorithm is established by using a new proof technique based on the structure of the derivation trees and using a counting argument to establish that if a terminal string can be derived in one grammar, it can also be derived in the other.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.