Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.9 KB

File metadata and controls

36 lines (27 loc) · 1.9 KB

Pyndent - Code Statistics

The Beauty of Simplicity

Pyndent proves that powerful tools don't need thousands of lines of code.

Line Count Evolution:

Stage Version Code lines .pyn Disk space .py Disk space (stripped) Features Added
Alpha 0.1.0.0 40 1.815 B (4 KB) Core preprocessing, default delimiters handling
Beta1 0.2.0.4 75 3.748 B (4 KB) auto-naming, error handling, -h, -V, -o
Beta1 0.2.1.5 84 4.339 B (8 KB) 4.213 B (8 KB) -e: process-and-execute
Beta1 0.2.2.10 83 4.234 B (8 KB) 4.501 B (8 KB) -x: -e/-o combo
Beta1 0.2.3.12 98 5.953 B (8 KB) 5.431 B (8 KB) display fix, -h/--help
Beta2 0.2.4.15 104 5.431 B (8 KB) 5.815 B (8 KB) delims management fix, -s/--strip
Beta2 0.2.5.16 104 6.529 B (8 KB) 7.064 B (8 KB) bugfix release
Beta2 0.2.6.17 107 6.344 B (8 KB) 7.613 B (8 KB) RC codes standardization
Beta2 0.2.7.21 154 9.637 B (12 KB) 10.683 B (12 KB) --verbose and levels
Beta2 0.2.8.24 207 16.127 B (16 KB) 17.609 B (20 KB) logfile and --quiet

(note: the reason why, most of the times .pyn meta-source disk usage is smaller than the processed .py one is due to the fact it uses TABs, while the final .py code uses spaces: by default, 1 TAB = 4 spaces)

Why It Matters:

  • Readable: Every developer can understand the entire codebase in minutes
  • Maintainable: Fewer lines = fewer bugs
  • Unix Philosophy: Does one thing and does it well
  • Educational: Perfect for studying how preprocessing works

Comparison:

  • Original alpha: ~0.3% the size of Python's parser
  • Current beta: ~0.6% the size of Python's parser
  • Yet solves a real pain point for developers

"Simplicity is the ultimate sophistication" - Leonardo da Vinci