[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Embedded Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 30 Mar 2006 19:46:19 -0300
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.