A Static Framework for Scalable Emulation of Evaluation Semantics
Paper in proceeding, 2007

The power of a programming language depends to a significant extent on its semantics of expression evaluation. It is therefore rewarding and popular to emulate nonexistent evaluation features by library constructs. For instance, one can emulate the functional programming idiom of a (partially) unbound function in an imperative language by providing special functor types. Their instances are created anonymously and represent late bindings if used as function arguments. This approach is of limited scalability to further emulations in this style, because each function implementation has to account for any possible combination of such special argument types. We propose a library-based framework that systematically supports the emulation of evaluation semantics without increasing the complexity order of function implementations. C++ as implementation language allows applying these constructs statically and therefore to avoid performance penalties at run time.

Author

Andreas Priesnitz

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Proc. of the 6th Int. Workshop on Multiparadigm Programming With Object-Oriented Languages, an ECOOP workshop

Subject Categories

Software Engineering

Computer Science

More information

Created

10/8/2017