I'm new to Lua and I was wondering if there are some compact way to define a list, a metatable in Lua as we do in Python:

lis = [i for i in set if i>0]

Any example would be greatly appreciated.

Edit
Report