lua-users home
lua-l archive

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


Also, the Lua core depends lightly on the ANSI C runtime library.
Besides some simple functions from string.h and ctype.h, it needs
sprintf and strtod to convert doubles to and from text, and setjmp,
longjmp and exit. Lua 5.1 also needs pow, floor, and localeconv.
The Lua libraries depend more heavily on the C standard library.

Another feature that is nice for embedded applications that have
limited memory is that the larger parts of the core (lexer, parser,
and code generator) can be very easily removed, and still leave a fully
functional core, which of course can only run precompiled programs.
--lhf