In article ... kers@hplb.hpl.hp.com (Chris Dollin) wrote ...
.... quite a lot, actually.
The Pepper solution is this. First, there are two kinds of declarations,
``val'' and ``var''. Identifiers declared by ``val'' are not assignable
(the declaration initialises them), while those declared by ``val'' are.
^
Of course, you will have noticed that I should have said ``var'' | ...
[Quickly scanning the Pepper code to hand, I see more than 750 ``val''s
and less than 250 ``var''s. ...]
I realised (thanks, Steve) that I had completely forgotten about for
loop identifiers and procedure parameters! There were 92 for loops
(each contributing one val identifier) and about 1170 parameters,
of which about 20 were var's (by default, they'd be val's). That
brings to total to approximately 1900 val's versus 270 var's, so
val's make up about 7/8ths of the variables in my code.
The numbers are only approximate, because I used grep, tr, and wc
to do my counting. But they shouldn't be too far off. Perhaps one
day I'll hack the compiler to do the stats for me.
--
Regards, | "You're better off not dreaming of the things to come;
Kers. | Dreams are always ending far too soon." - Caravan.
|