Re: Syntax, expressiveness and the beauty of Tcl




Donal K. Fellows schrieb:

That's TIP#282, which is probably not going to be in 8.5 after all. That
is because it introduces a new concept, an LValue, which [expr]essions
didn't have before, and we'd like to have more alpha-cycle time to
evaluate it's effects.

One interesting effect could be e.g
expr {sin($x) = sin($x)}
where as an lvalue, sin() would be an array, while on the right side
it's still the good old sine function...

.