News for hackers. Stuff that matters.
Re:Make your own Lisp by hvnsweeting on Tuesday March 28, 2017 @04:20AM (#13974963)
Used my python package dwc(https://github.com/hvnsweeting/dwc)

  dwc */ | sort -n | head
    494: examples/
    846: docs/
   1268: mal/
   1464: perl6/
   1483: coffee/
   1509: io/
   1534: racket/
   1571: ocaml/
   1579: es6/
   1621: factor/

Edit1: for better command

Edit2: for formatting

Re:Make your own Lisp by kanaka on Tuesday March 28, 2017 @01:46PM (#13978793)
The problem with that command is that it also counts the Makefile, Dockerfile and other supporting files. It also counts every implementation step (so lots of repeats in the LOC). However, each implementation does have a "stats" rule. So the following command at the top-level can be used to a get a nice summary:

    for i in $(make print-IMPLS); do \
      s=$(make stats^$i | grep total); \
      printf "%-9s %s\n" "$i" "$s"; \
    done | sort -n -k2

I made a gist with the current results: https://gist.github.com/kanaka/fdef20f5d0c2e04b97d9106b2f2f2...