On Thu, Jan 12, 2012 at 21:29, Ken Hornstein
<address@hidden> wrote:
>You are the only person with the fortitude to go near that code lately,
>so all I can say is 'please document the new regime' ;-)
Well, the new functions are documented in the mh-format man page, and I
even put in the bits about repl's duplicate supression for formataddr
since that was news to me!
>More seriously, whatever else you discovered as you got there is worth
>documenting as well. It's certainly one of the least understood bits of
>the code base ...
Maybe I'll add some comments to fmt_compile.c and fmt_scan.c. It's not
_terrible_ (other than that code being horribly non-reentrant, but I
guess that didn't matter too much back then). Also the memory management
is pretty much non-existent as well (I guess for single-shot commands,
it again wasn't a big deal). But once I got into the middle of it
you could follow it reasonably well. And I will note that Oliver Kiddle,
Josh Bressers, Peter Maydell, and Jeffrey Honig have all been inside of
that code, so if I get hit by a truck there is still hope for nmh! :-)
In other words, no good deed goes unpunished...
Thanks
Jeff
--
Jeffrey C. Honig <
address@hidden>
http://www.honig.net/jchGnuPG ID:14E29E13 <
http://www.honig.net/jch/key.shtml>