openscad/openscad — pull request #338 by kintel (2013-04-26 22:43:27+00:00)
Title: Assignment in local scope ++

This set of patches adds some functionality to the OpenSCAD parser:

* Argument lists are evaluated lazily, allowing variables to depend on each other:
* ```for (i=[0:2], j=i*2) {...}```
* Variables can now be assigned in any local scope, effectively deprecating the assign() module:
* ```for (i=[0:2]) {
j = i*2;
...
}```

Test cases are missing

Not supported:
* Assignment over variables in anonymous blocks:
* ```union() { sphere(); { a = 3; cube(3); } }```

Testing is needed!