Daniel Murrill
This program is one of the many markup processors documented with MakeDoc2.r. While quite a bit different, Daniel's code is included in the document suite. Well worth a look. The main usage document has pointers to his code.
Please see MakeDoc2 for full details.