News for hackers. Stuff that matters.
Re:Zola: A fast static site generator in a single binary by threatofrain on Friday March 05, 2021 @11:08AM (#26358370)
I guess Racket’s proposal of language oriented programming isn’t so kooky after all.
Re:Zola: A fast static site generator in a single binary by threepio on Friday March 05, 2021 @01:00PM (#26359829)
Pollen, written in Racket, is arguably a "dsl for specifying ssgs"

https://docs.racket-lang.org/pollen/

Re:Zola: A fast static site generator in a single binary by mdtusz on Friday March 05, 2021 @01:16PM (#26359988)
Pollen seems so incredibly cool and powerful, but every time I have tried to play around with it, I get distracted by small quirks and areas that I wish were documented more clearly, or in a more organized format.

My daydream is to make a _good_ technical documentation system with it that is usable by the everyman, but it's still just a bit too much of a stretch. Markdown + pandoc + LaTeX templates get close, but LaTeX templating is a nightmare, and markdown is far too limiting and lacks expressivity (without ad-hoc DSL's slapped on top).

If anyone has a good pollen tutorial or example repo, I'd _love_ to know of it.

Re:Zola: A fast static site generator in a single binary by threepio on Friday March 05, 2021 @01:24PM (#26360080)
This is a sample Pollen project, annotated by the author using Racket's literate-programming dialect.

https://docs.racket-lang.org/pollen-tfl/

Re:Zola: A fast static site generator in a single binary by pvorb on Friday March 05, 2021 @05:39PM (#26363149)
Don't mess around with Markdown and LaTeX for documentation. AsciiDoc is what you want.
Re:Zola: A fast static site generator in a single binary by rodolphoarruda on Friday March 05, 2021 @07:55PM (#26364228)
Your post changed my life. Thanks for sharing this about AsciiDoc. It's such a nice tool.