lua-users home
lua-l archive

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


David Given wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rob Kendrick wrote:
> [...]
>> There are tricky aspects of cleverer more advanced aspects of each
>> language which are difficult to map onto the other, though.  Syntax is
>> the easy bit.
> 
> This is actually something I've been thinking about --- do you have any
> pointers on these issues that I can follow up on?

JavaScript's generators, iterators, exceptions and array comprehensions
all concern me, as they're sufficiently different to how Lua does them.
 I seem to recall scoping is subtly different, especially when you get
into the mess of the new "let" keyword.

B.