joker 2021-08-21

I am looking at walk.. do the paths follow clojure core or its custom? https://github.com/candid82/joker/blob/master/core/data/walk.joke

itโ€™s a port of Clojure implementation minus things that Joker doesnโ€™t support (like records)

i.e. if I want to compare joke implementation with clojure

how can I write to a file? I only see open in io namespace https://candid82.github.io/joker/joker.io.html

I guess just use spit and slurp

yes, spit and slurp, and, if needed, joker.os/open and joker.os/create

trying with io with this.

=> (spit "foo.txt" "bar")
=> ( (joker.os/open "foo.txt") (joker.os/create "bar.txt"))

it writes 0 bytes

the arguments are swapped. The first arg is destination, the second is source: ( (joker.os/create "bar.txt") (joker.os/open "foo.txt"))

๐Ÿ‘ 1

Does joker support go interop? Such as calling go code from joker or vice versa

Dang it, It would be really cool to have a similar interop into go for use of their huge ecosystem of libraries.

๐Ÿ‘ 1

Working on it sporadically; check out my gostd fork/branch.

quick start didnt work for me, filed an issue

๐Ÿ‘ 1