sloccount for occam-pi
Here you can find patches and patched source code for sloccount, which makes it correctly identify and count occam source files (where occam source files are assumed to have the extension .occ or .inc).
This patch also introduces the extension .ss to be counted as lisp (we use this extension for our scheme modules), and ignores subversion working copy files (.svn-base and .svn-work).
Download the patched sloccount 2.26 source code.
Download the occam patch (also adds in .ss recognition, and filters svn files).
Download the original unpatched source code from the authors site, or use our local copy.