cloudhead/less.js — pull request #790 by jmgunn87 (2012-04-28 19:41:42+00:00)
Title: Support for variable-variables

The parser can now accept variable-variable declarations similar to that of php.
for example,

```less
@vv1: var;
@vv2: vv1;
@vv3: vv2;
@@@vv3: var;

@vn: 1;
@vnv: vn;

.variable-variable{
width: @@vnv;
url: url('@{var}');
}
```

Unit tests are implemented and pass on my end. This would close a number of existing issues and requests for this feature and also I think the syntax is cleaner and more in-keeping with the style of the language than some of the other suggestions. The code implemented in rule.js that allows this needs benchmarking and can probably be optimized somewhat.

Hopefully this gets merged as I think this is an important feature that the language is lacking. If you want some more examples of where I think this feature has a real use please let me know as i'll post some code demonstrating my point.

Thanks.