lua-users home
lua-l archive

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


On Sun, Jan 16, 2011 at 10:31 AM, kevin beckford <chiggsy@lazyweb.ca> wrote:
> I fear this is a terribly obvious thing, but I was going over some
> list answers, and re-reading the getopt discussion I thought:
>
> "Wait, why can't I just bind lua to the getopt library?"

2 reasons:
* C's getopt is from its interface very unlua-like, working a lot with
reference parameters.
* Its easy enough to create similar functionality with Lua code.