I've recently started using cweb, and while I like it a lot, I find
myself wanting to not just reference sections of code with @<...@>@,
but to use them a little more like C macros and pass parameters to
them. I might have a section @<Find the largest value in List |A|@>@,
but if I want to do the same for list |B|, as I understand things, I
have to duplicate the code.
Am I correct in understanding that cweb can't do this? And if I am,
is there a cweb-like system that can do this sort of thing?
thanks,
Michiel