kovasb / session

repl into the clojurescript community
Eclipse Public License 1.0
459 stars 36 forks source link

CLJS evaluator #18

Closed kovasb closed 10 years ago

kovasb commented 11 years ago

Want to evaluate code using clojurescript.

Need

  1. Way to say which evaluator to use (clj or cljs)
  2. Abstract the evaluator service and plug in cljs
  3. Get result back from browser and put into datomic

To follow the model used for clj, there is some extra round-tripping because we send the result to datomic, and then back to the browser before displaying it. We can live with this but maybe there is a more intelligent way to do it.