Lua implementation of HUSL