Title :
A Practical Method for Reducing Weak Precedence Parsers
Author :
Aoe, Junichi ; Yamamoto, Yoneo ; Shimada, Ryosaku
Author_Institution :
Department of Information Science and Systems Engineering, Faculty of Engineering, University of Tokushima
Abstract :
This paper presents a practical method for constructing a more compact matrix structure of the precedence information used in a new weak precedence parsing. The parsing algorithm differs from the conventional weak precedence algorithm in that the precedence relation .> signals a sequence of reduce actions, not just one. The method can be used for any weak precedence grammars without degrading the good error detection capability of the traditional weak precedence parsers. It is shown by the empirical results that the obtained matrices are the very reasonable size and that the presented parsing algorithm is very efficient.
Keywords :
Parser optimization; parsing algorithm; programming languages; space saving; time efficiency; weak precedence parser; Computer languages; Degradation; Error correction; Information science; Production; Systems engineering and theory; Parser optimization; parsing algorithm; programming languages; space saving; time efficiency; weak precedence parser;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.1983.236167