Similarly, this would make modifying configuration programmatically better. Instead of dealing with serializing and deserializing to random text formats, you would just provide a Config -> Config function. This would also make tools modifying configuration parameters more composable because they wouldn't be overwriting each other's changes unnecessarily.
> - Automatically scanning for insecure configurations (eg. OpenSCAP)
Since the language can't access the outside world, the worst it can do is use unbounded space or time. Just verify that it halts in a couple ms.
> - Parsing the configuration in other programs.
You don't parse, you embed an interpreter and execute.
> - Modifying the configuration programmatically (cf. Puppet et al)
Code generation isn't that hard.
- Automatically scanning for insecure configurations (eg. OpenSCAP)
- Parsing the configuration in other programs.
- Modifying the configuration programmatically (cf. Puppet et al)
Also, http://augeas.net/