joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
hlship 2019-11-22T21:10:45.102100Z

Is there really not a way to delete a file with joker?

😲 1
2019-11-23T15:51:55.105600Z

There also isn't a way to move files

2019-11-23T15:52:06.105800Z

And copy them

2019-11-23T15:54:37.106Z

But at the same time, sh can be used for so much. In that way, I think of joker more as a bash replacement. Since OS commands are handled through sh mostly

2019-11-23T15:55:21.106200Z

The only downside of sh is if you want a script that works on windows, linux and mac with the same code base.

jcburley 2019-11-23T17:41:31.106400Z

That and it's somewhat slower, plus you have less control over logging, error recovery, and such.

jcburley 2019-11-23T17:44:24.106600Z

Adding support for some of these things is rather easy though. Just need a list.

jcburley 2019-11-22T21:20:04.102200Z

Other than via joker.os/sh, apparently not! We should add one ASAP, though my gostd fork has go.std.os/Remove, if you're willing to be on the bleeding edge: https://burleyarch.com/joker/docs/amd64-linux/go.std.os.html#_functions

hlship 2019-11-22T21:29:06.102500Z

I just did the os/sh thing.

👍 2
jcburley 2019-11-22T22:40:43.102800Z

https://github.com/candid82/joker/pull/297