While 'WEB' and 'CWEB' are available as part of the 'TeX' package, there are quite a few other 'literate programming' support packages available. Please consider seriously adding more of this kind of package. Specifically: noweb - by Norman Ramsey. Language independent, Markup independent, extensible. Requires Icon (public domain - Arizona.edu?) nuweb - like noweb but less extensible, in 'C'. funnelweb - I haven't done much research on this one, but IIRC it is language independent. leo - I'm not even sure this falls into this category but I've seen reference to it in the news groups. many others...
--> http://fedoraproject.org/wiki/Extras/WishList