[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua in JavaScript
- From: Rob Kendrick <lua-l@...>
- Date: Wed, 25 Jul 2007 19:15:14 +0100
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.