[Haskell-cafe] What is simplest extension language to implement?

Stephen Tetley stephen.tetley at gmail.com
Tue Nov 2 04:47:29 EDT 2010

Norman Ramsey has implemented Lua as an extension language for ML,
this included actually writing a Lua interpreter not FFI-ing to the
standard Lua. He has a series of good papers about the mechanics of
exposing the API of an application to the scripting language.

The code itself is available as part of the C-- compiler suite.

Clean has Esther which is similar in spirit with a paper describing
its implementation, the code is in the standard distribution of Clean
though I think it has diverged a bit from the paper.

Finally if you end up considering Forth, Jerzy Karczmarczuk has a nice
paper describing implementations of stack languages very succinctly in


More information about the Haskell-Cafe mailing list