Hy fork
Go to file
Gergely Nagy a7cd70c84a compiler: Make maps and lists able to look up their params
As a neat syntactic sugar, it's very neat if maps and lists are able
to work as if they were functions, and look up their arguments.

This implements just that, by translating (map key) to (index map key)
internally, and (list idx) to (index list idx).

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-01-12 00:50:08 +01:00
bin fixing other broken things 2012-12-31 20:51:18 -05:00
demo things 2012-12-30 19:35:30 -05:00
eg doh 2013-01-02 22:06:22 -05:00
hy compiler: Make maps and lists able to look up their params 2013-01-12 00:50:08 +01:00
maint-scripts deployish 2012-12-31 18:40:27 -05:00
tests compiler: Make maps and lists able to look up their params 2013-01-12 00:50:08 +01:00
.gitignore some hacking 2012-12-22 00:18:37 -05:00
AUTHORS author update 2012-12-23 14:11:38 -05:00
COPYRIGHT m'fn kwargs 2012-12-22 23:07:09 -05:00
README.md foo 2012-12-23 16:40:35 -05:00
requirements.txt some hacking 2012-12-22 00:18:37 -05:00
setup.cfg coverage 2012-12-22 00:18:43 -05:00
setup.py small fixes release 2012-12-31 18:48:51 -05:00
tox.ini making some language changes. 2012-12-18 21:11:38 -05:00

Check out some tests I ran