> 2.) compiling optimized expressions to functions at runtime: > In clojure I managed to compile optimized expressions to optimized > code at runtime through a code-emitting protocol and a call to eval to > create the function. Without eval in clojurescript this couldn't be > done easily. With compile-time constant expressions this could be made > to work with a macro. At runtime there would still be the normal > evaluate function which however traverses the whole expression tree. > > So if anyone knows a good execution engine for expresso in > clojurescript or has thoughts about the compiling issue please post! >
Not sure if it suits your needs, but I've been working on a simple S-expression evaluation library that works in Clojure and ClojureScript: https://github.com/kumarshantanu/quiddity I am implementing namespace support for the upcoming 0.3.x release (in few weeks) and also migrating from lein-cljsbuild's crossovers to use cljx. Shantanu -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.