[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] lua2c 0.2 - a Lua-to-C translator
- From: David Manura <dm.lua@...>
- Date: Fri, 1 Aug 2008 04:36:34 +0000 (UTC)
This is to announce the first milestone release of lua2c.
lua2c converts a given Lua 5.1 source file into an equivalent C source file
written in terms of Lua C API calls. It passes most of the Lua 5.1 test suite
(except for a few unimplemented features, mainly coroutines) and even compiles
itself. Current performance is about 25%-75% of regular Lua, though future
versions might improve that via optimizations. It is written entirely in Lua.
One possible application is to allow seamless inlining of C code inside Lua
code, since Lua is converted to C, but you may find other novel uses, which I'd
like to hear about.
For further details see http://lua-users.org/wiki/LuaToCee .