Follow

I wanted to do some writing this afternoon, so the yak I shaved instead was writing a tool to wire up a TeX-inspired markup language for producing HTML and a Lua interpreter to create a little easily-extensible markup language.

If I were using [La]TeX itself, I could do this with built-in macro facilities, but the goal here is producing HTML. I suppose I could use something like M4 or produce Pandoc, but that sounded… worse, and I like the ergonomics of this.

Show thread

Plus, using Lua here makes it easy to do some pleasant things, like persisting state across macro calls or doing simple logic (which can be… nightmarish in something like TeX.)

Show thread
Sign in to participate in the conversation
Sometimes When Computer

Sometimes When Computer is an instance of Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.