Olaf wrote:
>>I suppose both approaches have their merrits. Including the program code
>>inside a markup language makes the basic literate tool
>>language-independent (however, for any advanced features like an index /
>>hyper links you need language specific add ons). It also stresses that
>>the program code is the least part of the program ;-)
>>On the other hand, what are comments still any good for with such a
>>tool? (the Glasgow literate tools don't process Haskell comments at
>>all).
Well, some litprog tools like noweb, nuweb will create indices without being
language specific. They are easy to learn&use. Check out the litprog faq
(posted to comp.programming.literate).
Osman