On Fri, Oct 17, 2008 at 04:23, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> > 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. Here's an imperfect implementation without much work: http://gist.github.com/17371 But yeah, it probably sux for various cases. It doesn't even do the indentation right in blocks. Greg: you may succeed to produce a haml2erb tool, but going bidirectional ... I don't think it will ever work. If you have only a slightest imperfection in html2haml and haml2erb tools (and just now we saw they had), your templates will finish up broken. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
