Menu

#2 Python version of php_count.c

Developmental
wont-fix
None
5
2016-11-16
2007-04-08
No

Dear David,

I ported php_count.c 2.26 to php_count.py (see attachment), leaving as much of the code as possible in C-style (so you can compare the two version more easily).

I am interested in porting python_count and java_count as well, but where is java_lines.c?
Or do you still use the CodeCount toolset and the license is not acceptable?

Happy eastern and greetings from Germany,
René

P.S.: I would be interested in an update to you 2 years old SCM comments :)
http://www.dwheeler.com/essays/scm.html

Discussion

  • Rene Leonhardt

    Rene Leonhardt - 2007-04-08

    Python port of php_count.c 2.26

     
  • David A. Wheeler

    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.

     
  • David A. Wheeler

    • status: open --> wont-fix
    • assigned_to: David A. Wheeler
    • Group: --> Developmental
     

Log in to post a comment.

MongoDB Logo MongoDB