tmdoc is a Tcl package and an application to allow literate programming in the style of R with Sweave or Knitr or pandoc with language plugins to embed programming language code into text documentation. This is widely used approach to support reproducible research and to support documentation of programming libraries and applications.
tmdoc is a lightweight implementation only using just Tcl-only code. There is a tcllib compatible package and application available at:
https://github.com/mittelmark/tmdoc
The tutorial at:
http://htmlpreview.github.io/?https://github.com/mittelmark/tmdoc/blob/master/modules/tmdoc/tmdoc-tutorial.html
documenting some features of tmdoc is an extended example demonstrating some features.
|