I assume someone's already done this but Rust would be perfect for doing a typesafe template lang
-
Show this thread
-
Replying to @mountain_ghosts
https://www.arewewebyet.org/topics/templating/ … Askama is probably the best known, ructe mimicks Scala Play templates. Haven't seen anyone try to do something like Yesod's templates yet
1 reply 0 retweets 1 like -
Replying to @sgrif
my toy attempt at this a long time ago: http://github.com/jcoglan/coping , what I really care about is the contextual encoding
2 replies 0 retweets 0 likes
Replying to @mountain_ghosts
Interesting. Haven't seen parsing the HTML to use different escaping for URLs before. Seems like it'd be hard to keep up with everywhere a URL could possibly appear in the spec
12:54 PM - 21 May 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.