I came across this paper and wonder if anyone's experimented with
AppleScript/Lua integration. I mean, with the 'osascript' cmd, Lua
could generate any AppleScript on the fly, run it, let it do the UI,
and feed back results. To the user, all this would seem like Lua but
with a native OSX interface.