Dave Cunningham
Dave Cunningham
It does short circuit, but it does not either 1) implicitly cast things to bool 2) In the case that things are not bools, return the original thing instead of...
Unfortunately `//` is a comment :)
I think it's by the original author of BCL :)
I think it might be nice to have jsdoc closure style comments and then enforce them with the linter. Alternatively, some kind of types syntax extension like pytype.
Ideally we would use libreadline, but would need an #ifdef for windows, and I'm not sure whether it'd work out-of-the-box on OSX. On the plus side, this doesn't affect libjsonnet.so.
Thinking more about this, the only thing I know how to provide is the ability to execute complete programs on each line, i.e. the only benefit over using jsonnet -i...
Since the new website has these interactive Javascript panels, do we think a REPL or watch-based solution is still necessary?
It looks like on OSX you can do: ``` addons: homebrew: packages: - re2 ``` Judging by https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-on-macos and http://macappstore.org/re2/
I assume that anyone picking this up would have to find a compatible solution on the Go side too? (I.e. the same regex syntax and semantics)
That may be necessary if there is no alternative. We would need to allow the jsonnet code to know what implementation it's running as so it can choose a regex...