Minimalistic ETL

2011-01-27 Thread mk
Hi, I recently had do do some ETL work (select from database one, transform, insert into database two). I searched for an existing tool, but found none that was reasonably simple but Scriptella, which implements a DSL for this job. Hm. I thought, Hey, this must be easy to do with a Lisp. And it

Re: OnLisp: Porting Chapter 19 to Clojure

2009-12-19 Thread mk
Thanks! I found this one, it involves a function that does the resolve: (defn -dynlet [bvec body] `(let ~bvec ~body)) (defmacro dynlet [bvec body] `(eval (-dynlet ~bvec ~body))) -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

OnLisp: Porting Chapter 19 to Clojure

2009-12-13 Thread mk
Hi, im just porting Chapter 19 to clojure (my objective is to learn macros). (For those that do not know the book: A database system is introduced that can hold and query painters). It goes nicely until the macro with-answer, which generate bindings on-the-fly so that one can say (with-answer