Syntax Analysis: The Left-Most-Derivation-and-Reduction Trees and its Compare with the LR Parsing Methods

Article Preview

Abstract:

A new syntax analysis method is presented, called as “left-most-derivation-and-reduction trees.” With the new way, the syntax analysis is carried out under the direction of the syntax trees, while in the traditional syntax analysis, the syntax tree is obtained when the analysis has finished. Furthermore, through the point of view of the “left-most-derivation-and-reduction trees”, the properties of the LR parsing method is newly surveyed and explained in an easier, simpler, and more directed way. Finally, the new way is expected to get further development in future.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

623-629

Citation:

Online since:

October 2014

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] A. V. Aho , M. S. Lam , R. Sethi & J. D. Ullman : Compilers: Techniques and Tools, Second Edition, Pearson Education (ed. ), Addison-Wesley Publishing Company. (2007).

Google Scholar

[2] D. E. Knuth: On the translations from left to right. Information and Control, 8: 6, pp.607-639. (1965).

Google Scholar

[3] F. L. DeRemer: Introduction to Automata Theory, Languages, and Computation, Addison-Wesley Publishing Company. (1971).

Google Scholar

[4] A.V. Aho: The Theory of Parsing, Translation and Compiling. Vol. I, II. Prentice-Hall. , (1972).

Google Scholar