Resolving Parsing Conflicts by Basic Rules and Patterns of Grammar Rewriting

Fang Xu
2006-01-01
Abstract:The origin of the parsing conflicts of grammar by using LALR(1) parser generators is analyzed.The moment and methods to eliminate conflicts in compiling phases is studied.Four basic rules of grammar rewriting as well as seven basic grammar rewriting patterns to resolve conflicts are proposed.Case studies show that the proposed techniques are highly effective in developing conflict-free parsers.
What problem does this paper attempt to address?