Integrating such a feature straight into DRYML would be difficult,
because DRYML is built around an XML parese.
However, writing a preprocessor should not be difficult. I don't think
an exact clone of HAML would work well, but certainly something
"inspired by" HAML could work out nicely.
If somebody were to take on such a task, I would certainly be willing to
help.
Bryan
atmorell wrote:
Hello,
DRYML could be compacted a lot if it used indentation for closing tags
- like the haml framework http://haml-lang.com/ It's just a thought,
and totally beyound my skills to implement such a feature.
DRYML
<show-page>
<collection-section:>
<h3><Your/> Assigned Tasks</h3>
<repeat with="&@user.tasks.group_by(&:story)">
<h4>Story: <a with="&this_key"/></h4>
<collection/>
</repeat>
</collection-section:>
</show-page>
DRYML haml style
show-page
collection-section:
h3 <Your/> Assigned Tasks
repeat with="&@user.tasks.group_by(&:story)"
h4 Story: <a with="&this_key"/>
<collection/>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.