lua-users home
lua-l archive

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


from PiL (http://www.lua.org/pil/1.1.html):

"Each piece of code that Lua executes, ..., is a chunk. More specifically, a chunk is simply a sequence of statements."



On Wed, Aug 21, 2013 at 12:49 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
The manual says:

To allow the use of Lua as a script interpreter in Unix systems, the
standalone interpreter skips the first line of a chunk if it starts
with #.

Is there a subtle reason why it says "chunk" rather than "script"?