The Generation of Optimal Code for Stack Machines

John L. Bruno, Theodore D. Lassagne · Journal of the ACM · 1975

The problem of generating "optimal" programs for the evaluation of arithmetic expressions on a machine with a finite depth stack is studied.Efficient algorithms are given for constructing optimal programs in the case where the expressions are trees, there are no data dependencies, and the operators have limited algebraic properties.

Read the paper · More papers on PaperTik