I just wanted to report back that StringTemplate proved to be the
perfect solution.

I also wanted to recommend Terrence Parr's (the creator and ANTLR and
StringTemplate) new book Language Design Patterns from The Pragmatic
Programmers for anyone doing parsing and code generation. It is an
excellent introduction to the subject.

On May 27, 6:02 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
> On May 26, 10:47 pm,markgunnels<markgunn...@gmail.com> wrote:
>
> > Hopefully this doesn't get me booed off the message board but is there
> > a Clojure equivalent to Ruby's ERB? I'm try to use Clojure to perform
> > code generation
>
> I've had success with StringTemplate.  Very functional design, easy to
> call from Clojure.  And it's designed for code generation (the ANTLR
> parser generator).
>
> -Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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