Supporting cross-language exception handling when extending applications with embedded languages

  • Authors:
  • Anthony Savidis

  • Affiliations:
  • Foundation for Research and Technology Hellas, Institute of Computer Science and University of Crete, Department of Computer Science

  • Venue:
  • SERENE'11 Proceedings of the Third international conference on Software engineering for resilient systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software applications increasingly deploy scripting embedded languages for extensibility, letting introduce custom extensions on top of the original application components. This results in two language layers, the one in which the application is implemented and the embedded language itself in which the extensions are written. During runtime, active calls amongst these two layers may be naturally intermixed, posing challenges for intuitive cross-language exception handling. At present, besides all .NET languages which cooperate by relying on a common language infrastructure, cross-language exception handling is not supported by existing embedded languages like Python, Perl, Ruby and Lua. We discuss the requirements for cross-exception handling and we show how they are accommodated via small-scale amendments in the embedded language API and runtime.