3 ms·
Can you use your normal programming language as a config language? Config is dynamically parsed at runtime. Do you want to bundle a c++ compiler in your code,
by DrBazza 3y ago
Can you use your normal programming language as a config language?
Config is dynamically parsed at runtime. Do you want to bundle a c++ compiler in your code, for example? Config shouldn't be difficult to write, or to parse and process.
Perhaps zig and rust can be used as configuration languages as they both do some interesting things that other languages don't.
- rco8786 3y agoI don’t see why you can bundle a YAML parser but not a Javascript parser > Config shouldn't be difficult to write Couldn’t agree more! In fact, it doesn’t matter if it’s hard to parse. Because that’s what computers are good for. What a human does is write and read configs. Whatever we can do to make that easier we should do. Using a known programming language, rather than a dedicated confit language, means the user is already familiar with the language and uses it day to day. That’s easy. What’s hard is learning a totally separate language with its own rules, syntax, tool chain, and capabilities.