Sven Richter <sver...@googlemail.com> writes:

Hi Sven,

> 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?

The templating language for all lisps is syntax-quote with unquote and
unquote-splicing, isn't it?

So I'd write functions which create the contents of the to-be generated
source files as data structures, i.e., a function definition is a list
whose first element in the symbol clojure.core/defn etc, and then print
these data structures into a file, e.g., using clojure.pprint.

Bye,
Tassilo

-- 
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.

Reply via email to