[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: #! /bin/lua (was Re: ~= vs. !=)
- From: Edgar Toernig <froese@...>
- Date: Thu, 27 Nov 2003 20:06:28 +0100
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.