| Age | Commit message (Collapse) | Author |
|
Let validate() check for valid values.
|
|
We already check for these missing fields with a nice source line
highlighting in config with error(). Better than assert().
|
|
|
|
By the time normalize() finishes there shouldn't be a need to check
for individual fields defined or not.
|
|
Validate already checks it in respective modules, just in case anyone
uses it as a standalone function not via elf module.
|
|
|
|
While here mark mandatory and optional fields.
|
|
- Mark optional fields and normalize them on load.
- Validate (work in progress) required fields and their values.
- Make sure that errors point to useful location in the config file.
|
|
|
|
This simplifies calling pack() on respective tables.
|
|
While here, define a elf.d.lua to help author type check configuration file.
|