15 ms·
Oh, I thought this was the already existing Hamlet language. Of which there are at least two. http://www.yesodweb.com/book/shakespearean-templates http://www.
by Tyr42 12y ago
Oh, I thought this was the already existing Hamlet language.
Of which there are at least two.
http://www.yesodweb.com/book/shakespearean-templates http://www.yesodweb.com/book/shakespearean-templates
https://github.com/gregwebs/hamlet.rb https://github.com/gregwebs/hamlet.rb
It does look pretty cool though.
- Grothendieck 12y agoActually, at least one: the Ruby version is just a port from Haskell and has the same syntax.
- Tyr42 12y agoOh, 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.