As implemented by Redis. Presumably this is not actually *that* hard to do. There should be Swift Lua libs available already.