Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've just used `cloc`-ed Lua repo's entire code base, excluding makefile's and markdown's: 33619 lines in total of C, Lua, and C / C++ Header code; very lightweight code base.


There's a single C file you can compile really easily with `gcc -o lua luaall.c`. It compiles the whole thing in a couple of seconds!


You meant to say `onelua.c` file; indeed it's a fascinating language, I have to admit.


And that includes the test suite! Over 1/3 of that is inside the tests directory.


Lua 5.1 has 11'081 SLOC in 32 .c and 1'506 SLOC in 23 .h files (without tests and examples).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: