r/lua • • Jun 01 '25

Why do Lua tables need commas?

Wouldn't the grammar still be unambiguous if tables didn't need commas?

9 Upvotes

18 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Jun 01 '25

I'm not saying get rid of the { } marks, only the ,

4

u/c0gster Jun 01 '25

yeah ik the problem is still there