Hacker News new | ask | show | jobs
by nojvek 2016 days ago
If you’re constantly fighting yaml, consider jsonnet. It’s another project by google and similarly not Turing complete. Works wonderful at generating templates.
1 comments

Well, actually Jsonnet is Turing complete. Anyway, thanks for the shoutout.
TIL. AFAIK jsonnet can’t do while loops so I assumed it wasn’t Turing complete and I didn’t see a way of writing a non-halting program.

But now I see, since it has recursion, there are tricks to make it go in an infinite loop.

Thanks for the pointer. I read the rationales again in the doc.