Quote:Original post by Xai
I can't imagine keeping my DATA inside my LUA / ruby scripts ... or my C++ program, or any of that. The reason, because what the hell tools out their know how to parse LUA correctly to present the lists of data to a non-scripter so they can edit them? What tools out their exist to parse these lists and generate lists of the resource files currently used in your project.
If you as I suggested just used Lua tables to store data, it would be no problem to write a tool for editing them even though I would consider it unnecessary given the simple nature of their syntax. It's just a comma separated list of key/value-pairs. You don't need to be a programmer to do that except for writing function values which no tool can do for you anyway.
And why would you need to parse it to get information from it? Just write a Lua function to iterate through the tables and gather the information you need.
Lua was originally intended to be used for data description and configuration.