lua-users home
lua-l archive

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

First off, 

I don't mind the change of the binary format. I can't say I really make
use of it during the development cycle, and part of the reason I use Lua
is to make projects capable of "always" being in the development cycle. 

However, can you take this opportunity to make a small but (IMO)
significant improvement? The script format allows you to have #!<lua path>
as the first line, so you can just run lua binaries directly. How about
putting into the beginning of the binary format "#!lua\n" so that it can
be run directly as a program on most UNIX systems (given that lua is in
the path, I think that works). I know on some systems one can probably
setup a majic identifier for Lua, and then tell the system to run that
majic through a program, however, this is quick and easy and would work
for most things.

On Thu, Aug 14, 1997 at 10:18:46AM -0300, Luiz Henrique de Figueiredo wrote:
> As a consequence of some changes to be introduced in 3.1, we had to
> change the internal structure of bytecodes and this directly affects
> the format of precompiled files, in a way that is incompatible with
> binaries generated by Lua 3.0.

David Jeske (N9LCA) +