noweb

WEB-like literate programming tool for mixing code and documentation

brewmacoslinux
Try with needOr install directly
Source

About

WEB-like literate-programming tool

Commands

nowebnotanglenoweave

Examples

Extract code from a noweb file into executable source$ notangle myprogram.nw > myprogram.c
Generate LaTeX documentation from a noweb file$ noweave -latex myprogram.nw > myprogram.tex
Extract specific code chunk from a noweb file$ notangle -R'main function' myprogram.nw