Login
You're viewing the discuss.systems public feed.
  • Aug 19, 2026, 6:45 PM

    Doug McIlroy, the first ever UNIX user, visited us at LRC today. He introduced bare m4, a single-operation version of the m4 macro processor with only define, which is nonetheless Turing-complete. “This I decline to explain”, he said on this slide.

    Doug McIlroy pointing at a slide:

define(`switch1of1',
  `define(`$1', `_switch1(`$1',$2)('DOL(1)`)')')
define(`_switch1', `$1 $2')

define(`DOL',`$$1')
    💬 1🔄 34⭐ 99

Replies