Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stefanos82
on May 28, 2023
|
parent
|
context
|
favorite
| on:
Lua: The Little Language That Could
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.
brabel
on May 29, 2023
|
next
[–]
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!
stefanos82
on May 29, 2023
|
parent
|
next
[–]
You meant to say `onelua.c` file; indeed it's a fascinating language, I have to admit.
ufo
on May 28, 2023
|
prev
|
next
[–]
And that includes the test suite! Over 1/3 of that is inside the tests directory.
Rochus
on May 28, 2023
|
prev
[–]
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: