A bunch of old papers on macros for portable software, starting with Strachey's "A general purpose macroprocessor":
(Considering that my experience with m4 was unfun, this may be a dead end, but it's at least historically interesting.)

· · Web · 2 · 2 · 0

Incidentally, the book *Writing interactive compilers and interpreters* by the same guy (Peter J Brown) was rather good, though super dated: about making things like a BASIC for a 70s microcomputer, exploring the design space.

@abecedarius Textual macros are messy and unreliable but also pretty practical for that kind of thing

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!