3 ms·
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 lightwe
by stefanos82 3y ago
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.
- Rochus 3y agoLua 5.1 has 11'081 SLOC in 32 .c and 1'506 SLOC in 23 .h files (without tests and examples).
- ufo 3y agoAnd that includes the test suite! Over 1/3 of that is inside the tests directory.
- brabel 3y agoThere'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!
- stefanos82 3y agoYou meant to say `onelua.c` file; indeed it's a fascinating language, I have to admit.