Fork me on GitHub
#clojurescript
<
2020-09-12
>
Jeff Evans16:09:02

Is anyone aware of a cljs compatible JSON parser that can produce token positions (in lieu of, or in addition to, the parsed data structure)? Something along the lines of: https://github.com/zserge/jsmn

borkdude19:09:43

If I want to create something like a custom REPL in a node script (which is presumably all async) how do I keep the script from exiting once the async events are set up?

borkdude19:09:40

Never mind, I just forgot (set! *main-cli-fn* -main) :)

GGfpc20:09:36

In clojurescript how do I redirect someone to a URL? I'm using reitit for frontend routing if that helps