joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
2020-05-19T04:37:43.080200Z

I've been working with edn in golang and wondering about several things. if there is golang based webserver one could combine golang in backend with clojurescript in frontend. I don't know if it makes sense but could parts of joker be used instead of this encoder eg https://github.com/go-edn/edn still trying to grog the internals of clojure datastructures, but can't say I made much headway. probably will need a use-case to be able to afford more time. I think transport of edn data in golang to javascript could have a lot of benefits over json

borkdude 2020-05-19T09:11:25.080600Z

There's also this: https://github.com/russolsen/transit

Candid 2020-05-19T16:21:13.081Z

Joker doesn't actually have a proper EDN parser. It can only parse Clojure, which is not exactly the same as EDN. I think you'd be better off using a specialized library.

2020-05-21T04:50:40.081200Z

thanks. I assume it would do much for what joker is aimed at to have that separate? since clojure is superset of EDN? a big part of clojure breakthrough was JVM, but it seems landscape now is very different i.e. we have golang, WASM, etc

2020-05-21T04:51:35.081400Z

@borkdude many thanks for that link

Candid 2020-05-21T19:59:03.081600Z

there simply has not been a need for special edn parser in Joker as (read-string) seems to be sufficient.