Thanks Ken. Basically LuaDoc with type extensions. Quite like '@return #type' and it would be easy to adapt LDoc to this style. However, needing explicit function tags feels redundant since this can mostly be inferred from the declaration.