mori icon indicating copy to clipboard operation
mori copied to clipboard

alernativa to 0.2.9 parse()?

Open boxxxie opened this issue 10 years ago • 4 comments

i see that mori's EDN parser is gone now, is there a seperate npm module i can rely on for that functionality?

boxxxie avatar Jan 19 '15 20:01 boxxxie

actually, i'm using mori on nodejs, and i really don't care about dead code removal... it would be nice to have a web build and a nodejs build, or even a new repo/fork.

boxxxie avatar Jan 19 '15 22:01 boxxxie

@boxxxie we'll get there eventually. Going to have to deal with a little bit of churn in the meantime until we can get enough support from ClojureScript to do proper builds optimized for browser & Node.js targets. In the meantime I can strongly recommend using transit-js for this, it's way faster than parse, 20-30X.

swannodette avatar Jan 19 '15 23:01 swannodette

It may be a silly question, yet I didn't get it from web-search or anything else -- whether I can parse an edn string (into JSON) through transit... Using JavaScript to call the Datomic REST server, for example. It had been recommended to use jsedn. Still the way?

orlin avatar Mar 09 '15 01:03 orlin

parse is coming right back once the modular build stuff lands which underway now. We just need adequate support from ClojureScript itself, see http://dev.clojure.org/jira/browse/CLJS-1188

swannodette avatar Apr 04 '15 00:04 swannodette