On 2011-05-05, Peter Kümmel wrote: > On 05.05.2011 10:28, Guenter Milde wrote:
>> As language I'd use one of: >> Lua >> + small and fast, >> + used in LuaTeX, so it will become more common and known in the >> TeX community, >> + a Lua interpreter can be embedded in LyX with minimal impact on >> the binary size. > Wasn't there another thread with the result that LyX is not bloated enough? According to http://www.lua.org/about.html The tarball for Lua 5.1.4, which contains source code, documentation, and examples, takes 212K compressed and 860K uncompressed. The source contains around 17000 lines of C. Under Linux, the Lua interpreter built with all standard Lua libraries takes 153K and the Lua library takes 203K. Compare this to a minimal Python installation or the size of the LyX binary. > Or did I get it wrong? ;) The idea is to outsource¹ tasks. This would reduce the binary size and memory footprint even more. An example would be the parsing of the unicodesymbols file. ¹ replace C code with Lua scripts. >> Python >> + we already "outsource" many tasks to Python scripts, >> + comes with "batteries included", >> + more widespread. Günter