On Tue, 16 Nov 2004 21:59:39 +0100, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote:
> (I've been trying a lot to implement a Lua compiler (version 5), but I'm
> seriously stuck on generating code for assignments (it's not as simple
> as it seems, but then again, I may be thinking in the wrong direction;
> for that I need either an implementation example (doesn't do Perl do
> multiple assignments? (i.e. a, b, c = c, b, a) , but that's another story).)
I've no idea, but Python does.
  a, b, c = c, b, a
<=>
  (a, b, c) = (c, b, a)

What's the matter exactly (maybe we should continue that off-list)?

Cheers,
Michael

Reply via email to