Embedding an interpreted language using higher-order functions and types

  • Authors:
  • Norman Ramsey

  • Affiliations:
  • Harvard University

  • Venue:
  • Proceedings of the 2003 workshop on Interpreters, virtual machines and emulators
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Using an embedded, interpreted language to control a complicated application can have significant software-engineering benefits. But existing interpreters are designed for embedding into C code. To embed an interpreter into a different language requires a suitable API. Lua-ML is a new API that uses higher-order functions and types to simplify the use of an embedded interpreter. A typical application-program function can be added to a Lua-ML interpreter simply by describing the function's type.