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: (
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.
Working on it sporadically; check out my gostd fork/branch.
went through the info here, https://github.com/jcburley/joker/blob/gostd/GOSTD.md there is a quickstart here https://github.com/jcburley/joker#quick-start
quick start didnt work for me, filed an issue