Show HN: UnicornFig – Lisp to produce configuration files and Go code
1–4 of 4 posts
Re: Show HN: UnicornFig – Lisp to produce configuration files and Go code
#2What is this for?
Re: Show HN: UnicornFig – Lisp to produce configuration files and Go code
#3What is this for?
My guess is it's for when you wish your configuration format had variables and loops after copy-pasting and modifying a line 20 times.
Re: Show HN: UnicornFig – Lisp to produce configuration files and Go code
#4What is this for?
I imagine creating sets of functions that effectively compose a DSL to write configurations using really simple and expressive constructs. Ideally, Fig (the language) files could be included in repositories and run with environment data as input (an env function is supplied) so that people don't have to maintain multiple copies of configurations.
The tool also has a strong potential to grow to support other output formats, and also do more in the way of code generation.