He-Pin(kerr)

Results 374 issues of He-Pin(kerr)

`recursive_function` utest may fail if the stack is not rich. ```jsonnet local infiniteLoop(x) = infiniteLoop(x + 1); infiniteLoop(0) ``` A better way may be to evaluate with an `ArrayDequeue`, but...

I think sjsonnet is great for jvm ecosystem, add a logo will be cool. https://github.com/CertainLach/jrsonnet has a nice logo.

refs: https://github.com/google/jsonnet/issues/930 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#optional_chaining_with_expressions In JSONPath, we can select deeply, even it may be null. ```jsonnet maybeNull: someObject?.innerObject?.whatIWant ``` I think we can support this with a `?.` instead of `.`....

enhancement

The https://github.com/lintnet/lintnet is built with go-jsonnet, and I think we can have an implementation of that too, maybe in another project.

Motivation: I tested the scala-native result of sjsonnet, it seems not that bad, it would be nice to have it in homebrew, as: refs: https://formulae.brew.sh/formula/jrsonnet

I found that only binaries for Mac and Linux have been published; we should publish binaries for Windows too.

It would be nice to have a playground that uses the js/wasm distribution of sjsonnet, so that users can quickly test sjsonnet.

enhancement

refs: https://mill-build.org/mill/scalalib/web-examples.html#_scala_js_webassembly_example The [WASM](https://webassembly.org/) build can be used to embed go-jsonnet for use (client side) in the web browser. This is used for the live code snippets on https://jsonnet.org/

enhancement

Motivation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing We need to something like `maybeNullObj?['someField'] ?? 'defaultValue'` refs: https://github.com/databricks/sjsonnet/issues/327 or we can just implement mvel: ``` person?.address?.city?: "Unknown City" ```

enhancement