Yes, that's exactly what I'd like to play with - having some in-memory db represented by clojure data structures, which can be serialized to/from edn and queried using core.logic. I have this node-webkit project I'm toying with for the purposes of getting used to functional programming.
I also thought that code of pldb looks not too complicated, thought I'd try just to use it as cljs file and fix any errors, but not sure I have enough experience for this. Anyway, if I try and fail, maybe will ask here for porting advice with concrete details attached :) 18 мая 2014 г. 20:31 пользователь "Norman Richards" <[email protected]> написал: > > On Sun, May 18, 2014 at 3:42 AM, Dmitry Suzdalev <[email protected]> wrote: > >> Oh, sorry for the noise, found clarification here: >> >> https://github.com/clojure/core.logic/wiki/Using-core.logic-with-ClojureScript >> > > > I've never used core.logic with with clojurescript, so it didn't even > occur to me to think about the clojurescript side when we added pldb to > core.logic. Unless there is something wildly different about the > clojurescript implementation, it shouldn't be a problem. > > I can actually think of some fun things you could do with in > Clojurescript, like importing pldb dbs from EDN requests to the server. > I've done a similar thing in an app I work on, where I store pldbs in a > Riak databases. I can query the pldbs I need and perform my core.logic > queries over the data in memory. > > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
