On Tue, Mar 29, 2011 at 16:04, Saul Hazledine <shaz...@gmail.com> wrote:
> On Mar 29, 3:13 pm, B Smith-Mannschott <bsmith.o...@gmail.com> wrote:
...
> I haven't done this within Clojure but below is small example of a C++
> Cheetah template:
>
> https://gist.github.com/892415
>
> Although it looks a bit of a mess the general structure of the C++ is
> clear and the templating code is not too intrusive.

Ah, thanks for example.  One question though:

enum Var_name   { #for $var in $variables.keys() # $var , #end for # VAR_END };

This seems almost like cheating because having VAR_END means we don't
have to deal with every item, but the last is followed by a comma
problem. Does velocity provide a way to address this easily?

// Ben

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

Reply via email to