Evaluation of semantic actions in predictive non-recursive parsing

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

To implement a syntax-directed translator, compiler designers always have the option of building a compiler that first performs a syntax analysis and then transverses the parse tree to execute the semantic actions in order. Yet it is much more efficient to perform both processes simultaneously. This avoids having to first explicitly build and afterwards transverse the parse tree, which is a time- and resource-consuming and complex process. This paper introduces an algorithm for executing semantic actions (for semantic analysis and intermediate code generation) during predictive non-recursive LL(1) parsing. The proposed method is a simple, efficient and effective method for executing this type of parser and the corresponding semantic actions jointly with the aid of no more than an auxiliary stack. © Springer Science+Business Media B.V. 2010.

Cite

CITATION STYLE

APA

Fuertes, J. L., & Pérez, A. (2010). Evaluation of semantic actions in predictive non-recursive parsing. In Innovations and Advances in Computer Sciences and Engineering (pp. 491–496). https://doi.org/10.1007/978-90-481-3658-2_86

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free