lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, 8 Mar 2008, David Manura wrote:

> There was a book "Understanding the Linux Kernel" some years ago that
> did something similar for the kernel sources.  Maybe this would be a
> case where something at least loosely based on a literate programming
> style would make sense given the Lua code's small size, low change rate,
> and wide readership.

Lions' commentary on the 6th Edition Unix kernel source code is probably a
good point of comparison. The source is formatted for printing to 9100
lines (including blank lines added to make files start at the top of a
page) so it's about half the size of Lua. The commentary is a similar
length to the code (perhaps slightly longer).

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
VIKING NORTH UTSIRE: SOUTH OR SOUTHWEST 6 TO GALE 8, OCCASIONALLY SEVERE GALE
9. ROUGH OR VERY ROUGH. RAIN OR SQUALLY WINTRY SHOWERS. MODERATE OR GOOD,
OCCASIONALLY POOR.