lua-users home
lua-l archive

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


On Thu, Nov 25, 2010 at 11:57:47AM +0000, Paul Hudson wrote:
> >    `do` `[` args `]` chunk `end`
> >
> > with a short return token wouldn't be too bad. It looks more like the
> > usual Lua syntax.
> >
> 
> Yuk. Anyone infected with Unix (or Perl) would try to see what command is
> being evaluate between the ` characters.

I suspect he is just using them to show what are tokens, and what
aren't, and it would be used like this:

	do [ x, y ] return x * y end

Although this is only six non-chorded keypresses shorter than what we
already have :)

B.