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
2012-12-31 20:51:18 -05:00
2012-12-30 19:35:30 -05:00
doh
2013-01-02 22:06:22 -05:00
2012-12-31 18:40:27 -05:00
2012-12-22 00:18:37 -05:00
2012-12-23 14:11:38 -05:00
2012-12-22 23:07:09 -05:00
foo
2012-12-23 16:40:35 -05:00
2012-12-22 00:18:37 -05:00
2012-12-22 00:18:43 -05:00
2012-12-31 18:48:51 -05:00
2012-12-18 21:11:38 -05:00

Check out some tests I ran

Description
Hy fork
Readme 6.1 MiB
Languages
Python 50.7%
Hy 41.5%
reStructuredText 7.1%
Batchfile 0.4%
Makefile 0.3%