[Nitro] Morphing compiler
George Moschovitis
george.moschovitis at gmail.com
Tue Nov 1 07:45:22 EST 2005
Hello Guill,
as you can see I added the xhtml compiler as morphing compiler in 0.25.0
lib/nitro/compiler/morphing.rb
this compiler expands code like this:
<div times="2">koko</div>
<div>koko</div>
<div>koko</div>
At the moment, this is implemented using some simple regexp magic.
However, this does not work correctly when you have nested tags. I
wonder if you have some time to investigate reimplementing this for
example using rexml or something like this? I am posting this to the
mailing list, perhaps someone other has more time and can work on
this.
thanks,
George.
--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com
More information about the Nitro-general
mailing list