On 8 April 2015 at 14:20, Sven Richter <sver...@googlemail.com> wrote: > > I want to create clojure source files with some code and a namespace and > everything else what is useful for some source code. > What I am looking for is a templating language for clojure code, is there > something like this already? What would be the most idiomatic way to do > that besides just writing strings into a file? >
What's the purpose? If it's just to generate some Clojure code that will never be read by a human, then you can use Clojure's backtick syntax with the pr-str function. If it's to generate human-readable code, then you're probably best using a text templating language. You may also want to look at Leiningen templates or lein-generate. - James -- 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/d/optout.