Re:Common Nginx misconfigurations that leave your web server...
by kevin_thibedeau on Thursday February 25, 2021 @02:36PM
(#26267173)
Tcl is meant to be embedded for scripting and it can be made non-Turing complete by stripping away all but the bare minimum of commands. There is a built in mechanism for sandboxing untrusted input. If can easily be a safe, bullet proof configuration language.
Re:Common Nginx misconfigurations that leave your web server...
by mhitza on Thursday February 25, 2021 @06:46AM
(#26261907)
I was gonna consider including Dhall in my list, but then again nginx configuration has support for if statements.
And from my past experience with HCL, sometimes a proper embedded programming language is better than whatever crazy DSL some developers can envision (see for loops in HCL)
The proper solution is a DSL, just a better DSl. Or perhaps a DSL embedded in something like dhall <https://dhall-lang.org/>, but definitely not a general-purpose programming language.