woOT `jrsonnet`, amazing.
Anyhow doing a bit of bisecting, it'd look like max stacks implementation limits indeed:
```
$ jrsonnet -e '{ "a": std.foldl(function(p, c) p{ "test"+: { "t": c }}, std.range(0,
18690), {}) }'
[...OK...]
$ jrsonnet -e '{ "a": std.foldl(function(p, c) p{ "test"+: { "t": c }}, std.range(0, 18691), {}) }'
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1] 5462 abort jrsonnet -e
$ jsonnet -e '{ "a": std.foldl(function(p, c) p{ "test"+: { "t": c }}, std.range(0, 496), {}) }'
[...OK...]
$ jsonnet -e '{ "a": std.foldl(function(p, c) p{ "test"+: { "t": c }}, std.range(0, 497), {}) }'
RUNTIME ERROR: max stack frames exceeded.
[...]
```
BTW `jrsonnet --max-stack <N>` didn't help, tried upping it to 1e6 and moar even.