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
r/lua • • Jun 01 '25
Wouldn't the grammar still be unambiguous if tables didn't need commas?
View all comments
1
u/CirnoIzumi Jun 01 '25
its how you differentiate inline values in most grammars