I just ported the Perl version of python_count 2.26 (see attachment).
It is very similar to the Perl code, therefore the multiline string recognition ('line1' \\n'line2') is still missing.
Python port of python_count 2.26
Very fun! I like Python, it's an easy-to-read language. However, it's slow. I've decided to not port sloccount to Python, because the slowdown isn't worth it. sloccount, at least, needs to be fast for many use cases.
Log in to post a comment.