I'm interested in using Closure Templates within my Ruby (Rails)
application. I can see from the documentation[1] that:
"The Closure Templates compiler has one frontend for parsing template
syntax and constructing an intermediate tree representation, and
multiple backends for supporting usage from multiple programming
languages. You can use one of two backends"
where the current backends are JS and Java. Seems like I am looking
for a Ruby back-end. I am looking for advise on the following:
* Does anyone know of any efforts to use Closure Templates with Ruby
that already exist?
* If not, could someone give a little more detail on what / where the
"intermediate tree representation" is and if that would be a good
starting point for developing a Ruby back-end? I took a quick look at
the source and it wasn't obvious to me how to create additional
back-ends.
Thanks!
Dylan
1. http://code.google.com/closure/templates/docs/concepts.html#compilerbackends
I was see the following usage (via require 'java') :
https://gist.github.com/1160217
I have a similar problem. I am currently working on the implementation
of Closure Templates in perl 6 for developing a Perl 5 back-end :-)
Alex
2011/10/31 Dylan Vaughn <dylanc...@gmail.com>:
https://github.com/dylanvaughn/closure-templates
Thanks!
Dylan