Can Lua config files be downloaded and executed in an iOS app? I have an cross-platform app that runs Lua scripts, and I am interested in publishing it on the iOS App Store. I know that Apple does not allow apps to download and run code from the internet on iOS, but what about a simple Lua configuration file, like this:

obj.title = "Hello world"
obj.author = "Somebody"
obj.version = "1.0.1"


Or if assignments count as code, what about a simple JSON-like table, like:

{
    title = "Hello world",
    author = "Somebody",
    version = "1.0.1"
}


Would either of these violate the guidelines?
This is fine. Apple doesn't approve of apps which download executable Objective-C. Other languages seem to be fine, including but not limited to JavaScript. A configuration file, regardless of the language, is perfectly within the guidelines.

The specific wording of the guideline indicates that content (used figuratively to mean data, executables, scripts, etc) that is provided by the app developer, modifying the functionality of the app further than is already built in to the app at review time, is prohibited. This is to prevent apps changing completely once they've been reviewed and accepted. Your app which runs Lua scripts presumably can run Lua built in, rather than executing the scripts externally and receiving the result. This means that all the functionality is within the app, thus acceptable.