On Wed, 27 Sep 2000, Frank Atanassow wrote:

> Personally, I think literate programming is all about syntax, so I would avoid
> trying to make the tool do any sort of semantic analysis.

Mmm, my personal view of literate programming is that it is a technique
for making learning about and comprehending complex software systems
easier, and that in principle anything which helps that is beneficial even
if it involves machine semantic analysis. The issue is somewhat clouded
for web/cweb in that it does some elementary semantic analysis purely
syntactically: if an identifier isn't in a list of predefined keywords it
belongs in the index along with any other occurrences of that term. And
even then there's more: single letter identifiers are judged to be used
solely for `obvious' local variables and thus don't get indexed.

In practice, I entirely agree that it's an awful lot of work for
comparatively little benefit; I'm certainly not offering to do this as my
first OSS project! :-)

___cheers,_dave________________________________________________________
www.cs.bris.ac.uk/~tweed/pi.htm|tweed's law:  however many computers
email: [EMAIL PROTECTED]     |    you have, half your time is spent
work tel: (0117) 954-5250      |    waiting for compilations to finish.



Reply via email to