> If I understand correctly, I think this is a misdesign of the Lua
 > standard intepreter.  It should not be mapping command line argument
 > words to Lua arguments precisely because there is an arbitrary (and
 > relatively low) limit on chunk args.  Instead, lua should assemble the
 > command line arguments into a Lua list, and pass that list to the script
 > chunk as a single argument.  Since Lua list length is virtually
 > unlimited, there will be no such issue with command line length.

Lua standalone does both.  In my opinion, it's not unreasonable to
treat command-line arguments as chunk arguments, and this semantics is
clearly stated in Section 6 of the reference manual.  Reasonable
people could differ about whether this is a good semantics, but I hope
we can agree that a Lua script should be capable of accepting as many
command-line arguments as the operating system cares to provide.


Norman




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to