Completely managed Lua-like implementation