clojurescript

ClojureScript, a dialect of Clojure that compiles to JavaScript http://clojurescript.org | Currently at 1.10.879
2020-09-12T16:34:02.460Z

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

borkdude 2020-09-12T19:16:43.461Z

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?

borkdude 2020-09-12T19:18:40.461400Z

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

GGfpc 2020-09-12T20:32:36.462Z

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

alpox 2020-09-12T20:58:16.462500Z

@ggfpc12495 Probably push-state -> https://cljdoc.org/d/metosin/reitit/0.5.5/api/reitit.frontend.easy