Stuart Sierra wrote:
> > On May 26, 10:47 pm,markgunnels 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
>
is an
excellent introduction to the subject.
On May 27, 6:02 pm, Stuart Sierra wrote:
> On May 26, 10:47 pm,markgunnels 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 pe
On May 26, 10:47 pm, markgunnels 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 desi
I think you could do a hack using macros and eval at runtime in order
to expand them into your code, but I think one of the fellas in the
chat room said to be wary if that's the only approach I can see to a
problem, because it's easy to screw up, and not entirely good
practice.
Btw, does clojure
es top level context.
>
> It's not documented, but if anyone is interested I can do some.
>
> cheers
>
> bd
>
> On Tue, 2009-05-26 at 19:47 -0700, markgunnels wrote:
> > Hopefully this doesn't get me booed off the message board but is there
> > a Cl
rote:
> 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 and, while it makes for an excellent language to write
> a parser in, I can't quite figure out the
On May 27, 4:47 am, markgunnels wrote:
> Hopefully this doesn't get me booed off the message board but is there
> a Clojure equivalent to Ruby's ERB?
I don't think there is a Clojure equivalent (i.e. for general purpose
text generation), but given Clojure's great
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 and, while it makes for an excellent language to write
a parser in, I can't quite figure out the best way to actually
t