Yesterday, after contemplating how to structure a possible YAML-based configuration for Nam-Shub of Enki, I was reminded that TOML exists. And iocaine uses it as its config format anyway, so why not use the same for Nam-Shub?
So I did some experimentation, and now I'm working on assembling a configuration from Nam-Shub.
Incidentally, I might also restructure the Config
type the TOML will be deserialized into to follow a similar structure. That will also allow me to split up the big configuration.org
file, and let the various features target references in it... or in other words: move the declaration of config options to the node that implements said feature, rather than having it in the monolithic configuration.org
.