4 ms·
I thought about something like that, but wanted to duplicate the existing config file format so that people's configs would keep working (mostly). It actually
by zedshaw 16y ago
I thought about something like that, but wanted to duplicate the existing config file format so that people's configs would keep working (mostly). It actually had some cool advantages, like a nice psuedo variable system letting you setup variables for reuse in different parts of the config file.
I haven't really seen that in other config formats, and it is damn handy.
- mahmud 16y agolibconfig has include directives, is far more useful to multi-instance setups. Plus you get a full type system, all in a 33k binary.
- thaumaturgy 16y agoI do that in the readable config file format I wrote for another web backend, and it is hella useful.
- pygy_ 16y agoYAML has a variable system: http://www.yaml.org/spec/1.2/spec.html#id2786196 http://www.yaml.org/spec/1.2/spec.html#id2786196