Re:Hamlet – Simple and powerful reactive templating
by Grothendieck on Monday June 16, 2014 @04:12PM
(#7901198)
Actually, at least one: the Ruby version is just a port from Haskell and has the same syntax.
Re:Hamlet – Simple and powerful reactive templating
by Tyr42 on Monday June 16, 2014 @05:35PM
(#7901601)
Oh, shoot, I googled for the Haskell one, and saw the other one on the way. I should have read about two more lines, and I would have got it.
In my defence, I always thought the main feature of Hamlet is the static checking of everything, and solving the escaping problem (at compile time!), so I didn't even entertain the idea that someone would port it to Ruby.
Of which there are at least two.
http://www.yesodweb.com/book/shakespearean-templates
https://github.com/gregwebs/hamlet.rb
It does look pretty cool though.