Descripción
|
|
---|---|
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 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 | |
Internacional
|
Si |
Nombre congreso
|
International Joint Conferences on Computer, Information, and Systems Sciences, and Engineering (CISSE 2008) |
Entidad organizadora
|
University of Bridgeport |
Nacionalidad Entidad
|
E.E.U.U. DE AMERICA |
Lugar/Ciudad de impartición
|
|
Fecha inicio
|
05/12/2008 |
Fecha fin
|
13/12/2008 |