Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by joelbondurant on Thursday June 05, 2014 @02:39AM
(#7850532)
Despite the best efforts of millions, XML still sucks as a general purpose programming language.
[ Parent
| on HN ]
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by kethinov on Thursday June 05, 2014 @09:20AM
(#7851771)
How's this take? https://github.com/kethinov/teddy
Not exactly a general purpose programming language (as XML really shouldn't be used that way, of course), but I think it takes a lot of the ugly verboseness out of most XML templating systems, including the OP's.
Maybe I should post a "Show HN" thread too. ;)
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by kristopolous on Thursday June 05, 2014 @09:53AM
(#7851944)
yes you should. this thing is amazing.
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by kethinov on Thursday June 05, 2014 @11:36AM
(#7852437)
Also, have you heard of ejs? It seems like it has similar design goals to what you're working on. https://github.com/visionmedia/ejs
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by kethinov on Thursday June 05, 2014 @11:32AM
(#7852419)
Thanks! Done: https://news.ycombinator.com/item?id=7852417