3 ms·
Have you had a look at Pollen, by Matthew Butterick?
by Tomte 11y ago
Have you had a look at Pollen, by Matthew Butterick?
- davexunit 11y agoYes. I like Butterick's "Practical Typography" a lot, and the rationale behind using Racket. That said, I don't actually like Pollen because it's just a string-based templating system. Instead, I want to use something that is based around s-expressions. My static site generator, Haunt, works with SXML trees instead of raw strings which is much nicer to work with.
- xrayspec 11y ago> just a string-based templating system Not sure what you mean. Pollen is derived from Racket's text-based DSL, Scribble. Like Scribble, Pollen lets you embed Racket-style S-expressions in your documents. Moreover, Pollen documents compile into X-expressions (= the Racket equivalent of SXML).