This repository has been archived on 2026-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
el-retired/docs/experiments/evidence/0003-codegen-series-cloc.cmd
T
will d3495476f4
El SDK Release / build-and-release (push) Failing after 13m0s
kill: purge old-paradigm dist/platform binaries from tree
The generated C, amalgams, vendored runtime pins, and compiled binaries
from the Claude Code era are removed from the worktree. The El sources
survive; this tree is now source-only for the first-principles rebuild.

Per Principal direction 2026-08-19.
2026-08-19 19:46:15 -05:00

17 lines
949 B
Batchfile

bash -c
echo "INSTRUMENT: cloc 2.10 --force-lang=C (transfer standard, calibrated this session"
echo " against hand-counted reference; agrees on both fixtures)"
echo "UNIT: LINE, defined in docs/experiments/instruments/UNITS.md"
echo "FILE: lang/el-compiler/src/codegen.el"
echo
printf "%-11s %-19s %6s %6s %8s %6s\n" commit date blank comment code total
git log --format="%H %ad" --date=short --reverse -- lang/el-compiler/src/codegen.el | while read sha date; do
blob=$(git show "$sha:lang/el-compiler/src/codegen.el" 2>/dev/null) || continue
[ -z "$blob" ] && continue
t=$(mktemp /tmp/cg-XXXXXX.c); printf "%s\n" "$blob" > "$t"
row=$(cloc --force-lang=C --quiet --csv "$t" 2>/dev/null | tail -1)
b=$(echo "$row"|cut -d, -f3); c=$(echo "$row"|cut -d, -f4); k=$(echo "$row"|cut -d, -f5)
[ -n "$k" ] && printf "%-11s %-19s %6s %6s %8s %6s\n" "${sha:0:9}" "$date" "$b" "$c" "$k" "$((b+c+k))"
rm -f "$t"
done