From 090824caee6f4721e1552eaecf969eb700ac22e3 Mon Sep 17 00:00:00 2001 From: Associate 1 Date: Fri, 20 Feb 2026 10:14:34 -0700 Subject: [PATCH] Add codebase size summary to README Co-Authored-By: Claude Opus 4.6 --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index a4da1de..7d98889 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,30 @@ func main() { } ``` +## Codebase Size + +~14,700 lines of code (excluding the vendored `kroc/` subtree). + +| Category | Lines | +|----------|------:| +| Production code | 6,400 | +| Tests | 8,160 | +| Occam examples | 135 | +| **Total** | **~14,700** | + +Largest files: + +| File | Lines | +|------|------:| +| `parser/parser_test.go` | 3,124 | +| `parser/parser.go` | 2,811 | +| `codegen/codegen.go` | 2,617 | +| `codegen/codegen_test.go` | 669 | +| `ast/ast.go` | 520 | +| `lexer/lexer.go` | 448 | +| `preproc/preproc_test.go` | 437 | +| E2E test files (5 files) | 1,545 | + ## Implemented Features See [TODO.md](TODO.md) for the full implementation status and roadmap.