No, no such tool exists. In fact, it's not possible to make without 
parsing Ruby code - Haml supports several constructs, such as = with a 
block and comments within Ruby code, that ERB doesn't. It might be 
possible to modify the Haml engine to convert a fairly large subset of 
Haml to ERB, but it would take considerable work to even get to an 
imperfect implementation.

I'd suggest trying to convince your team to give Haml a try in its own 
right. Designers often take to it even more than developers, because of 
the similarities to CSS and how closely it matches the document tree.

Greg Weber wrote:
> it may sound contradictory, but I am looking for a tool to convert
> haml to erb in order to use haml.  If one's team is not using Haml,
> one can convert to haml, edit the file, and then convert back to erb.
> Also, one of the objections to Haml is that it will be more difficult
> for designers to work with.  This would be solved by converting the
> Haml to erb to be worked on, and then back to Haml.
>
> Does such a tool exist?  Is it possible to hack the Haml source to
> produce one?
>
> Thanks,
> Greg
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to