On Fri, 30 Nov 2018, Tadziu Hoffmann wrote:
I'm in search of any documentation that provides insight
into the design and implementation of a *roff.
Not sure if this helps more than it confuses, but
perhaps looking into the "amazingly workable formatter",
an nroff-workalike written in awk, might offer some
enlightenment...
There's also a C version of awf that used to be the
default formatter on Minix.
While not the same ancestry ...
Alan Holub wrote 'nr/tr' as an 'nroff/troff' replacement. It was well
documented in several articles Dr Dobbs Journal, then consolidated in
book which I think is
C Chest and other C treasures (M+T books 1987)
But I could be wrong on the book.
Regards - Damian
Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer