On Wed, Mar 30, 2011 at 15:00, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > Take a look at http://www.stringtemplate.org/ for a Turing-complete, > purely-functional, Java-based template language designed for code > generation.
Thanks! This is actually the second time I've run across stringtemplate, only now i'm taking the time to really dig into it. I'm making progress and it looks like the right solution for my immediate needs. I particularly like the effort it makes to enforce a clean separation of template from business logic. Since I'm a total beginner with stringtemplate, I'm trying to suss out where to draw the line between putting complexity into the templates and/or keeping it in clojure. (i.e. should I have a big template group with one or two entry points where the templates call eachother), or should I do composition from the outside via Clojure. I'll start with the latter, but perhaps I'll move more into the templates as I gain experience. // Ben > -Stuart Sierra > clojure.com > > -- > 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 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