lua-users home
lua-l archive

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

Rob Kendrick wrote:
> What would make me happy is that lua_load function deals with this,
> rather than the lexer.  That way it works perfectly with both.  And if
> it's up to the interpreter to ignore it, why doesn't it if it's a
> compiled lump?

I thought about that for Sol.  It's easy to do.  What kept me from
adding it was that you have to remember the shebang line to add it
to the compiled chunk later.  Not really difficult but becomes ob-
trusive.  The alternative - hardcode a line in the dumper - was not
acceptable for me.

Ciao, ET.