Arc Forumnew | comments | leaders | submitlogin
3 points by almkglor 4433 days ago | link | parent

Not yet, although it should be possible. Show us how you expect to define a template (using just s-expressions, unfortunately), and we'll try to hack something that can read your code.

1 point by ryantmulligan 4432 days ago | link

HAML's indentation syntax is transferable to s-exps I believe.


5 points by nex3 4432 days ago | link

As the primary developer of Haml, I'm playing with the idea of porting it to Arc at some point (likely not via sexprs, though, because a large portion of Haml's coolness comes from other aspects of its terser syntax).

Then again,

  (div #id .class = content)
isn't so bad...


1 point by almkglor 4432 days ago | link

I think you'll find that s-exprs can be surprisingly terse - remember the lesson of pg's 'if function ^^.