301 Commits

Author SHA1 Message Date
Paul R. Tagliamonte
a405b8ef52 Thinking. 2013-03-02 18:03:59 -05:00
Paul R. Tagliamonte
5c6d98a24a Rebuilding. 2013-02-28 22:37:23 -05:00
Paul R. Tagliamonte
84453e75d2 Thinking about a refacotr. 2013-02-28 22:27:20 -05:00
Paul Tagliamonte
f5836da2a5 Kill everything 2013-02-27 19:00:52 -05:00
Paul Tagliamonte
6455fe951a uneeded sys 2013-01-21 12:19:35 -05:00
Paul Tagliamonte
93625be7eb Merge branch 'master' of github.com:paultag/hy 2013-01-15 20:02:34 -05:00
Paul Tagliamonte
7729d1c1d4 Tweaks, tweaks. 2013-01-15 20:02:10 -05:00
Paul Tagliamonte
17b0d56de1 Style fixes 2013-01-12 14:38:53 -05:00
Paul Tagliamonte
676c4f5448 Doing some cleanup 2013-01-12 14:32:32 -05:00
Paul Tagliamonte
a9ac8afd90 Removing some trailing space (cosmetic) 2013-01-11 19:38:56 -05:00
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
Paul Tagliamonte
56dedfa6ed Playing around... 2013-01-08 22:52:04 -05:00
Paul Tagliamonte
2b7e3b3cc1 Adding earmufs 2013-01-08 21:28:49 -05:00
Paul Tagliamonte
e569b7f5aa minor hacks 2013-01-04 19:49:33 -05:00
Paul Tagliamonte
90446be352 fixing other broken things 2012-12-31 20:51:18 -05:00
Paul Tagliamonte
d05535a378 index things 2012-12-31 20:47:29 -05:00
Paul Tagliamonte
65a9541928 Close #11 - Decorators exist 2012-12-31 17:45:29 -05:00
Paul Tagliamonte
9fcedceed3 Adding "#!" == comment - Close #23 2012-12-31 15:09:22 -05:00
Paul Tagliamonte
2a36c1e0c3 Close #2 - import-from 2012-12-31 14:50:18 -05:00
Paul Tagliamonte
62c7044f37 Close: #4 - translate - --> _ 2012-12-31 14:32:29 -05:00
Thom Neale
ec1bd2ba1f added function to get timestamp from pyc file 2012-12-29 16:46:43 -05:00
Thom Neale
e0fe362335 Added function to compile file to bytecode...needs hy hackage 2012-12-29 16:32:46 -05:00
Paul Tagliamonte
8bf4b0578c fixing up some kruft 2012-12-28 14:02:02 -05:00
Paul Tagliamonte
34d5d688ba toning down some things 2012-12-28 13:59:24 -05:00
Paul Tagliamonte
54e6c30eff Silly dot-notation thing 2012-12-28 11:19:37 -05:00
Paul Tagliamonte
34b2f2ee5b Revert "adding dot-notation"
This reverts commit a0ea3ffb8f9f7bde6c7f28a8d4eb389c33c896de.
2012-12-27 23:44:33 -05:00
Paul Tagliamonte
a0ea3ffb8f adding dot-notation 2012-12-27 23:08:26 -05:00
Paul Tagliamonte
8737ecef65 Close #1 2012-12-27 22:00:00 -05:00
Paul Tagliamonte
ae3c4c357a Adding yielding in 2012-12-25 22:47:29 -05:00
Paul Tagliamonte
37d134b32b dumping the correct file 2012-12-24 05:08:39 +00:00
Paul Tagliamonte
5defd2df9f things for python3 2012-12-23 17:45:24 -05:00
Paul Tagliamonte
7a8288632b blasting kruft 2012-12-23 14:06:00 -05:00
Paul Tagliamonte
71dc59a441 hacking with returns again 2012-12-23 14:01:45 -05:00
Paul Tagliamonte
002f103aa0 Update to the importer. 2012-12-23 12:39:33 -05:00
Paul Tagliamonte
93c1f8129d adding in automagic return nonsense 2012-12-23 10:58:27 -05:00
Paul Tagliamonte
ffdb3a893a correcting some garbage 2012-12-23 00:09:40 -05:00
Paul Tagliamonte
8a601221fb error message voodoo 2012-12-22 23:34:00 -05:00
Paul Tagliamonte
87b602fc9f m'fn kwargs 2012-12-22 23:07:09 -05:00
Paul Tagliamonte
81820abace using ast rather then native now 2012-12-22 21:56:05 -05:00
Paul Tagliamonte
952ba5811e while loop 2012-12-22 21:47:38 -05:00
Paul Tagliamonte
63a276692a adding in forloop 2012-12-22 21:40:23 -05:00
Paul Tagliamonte
c458fa6a37 maps 2012-12-22 21:31:05 -05:00
Paul Tagliamonte
c953692816 exceptions 2012-12-22 21:23:39 -05:00
Paul Tagliamonte
58e13d40ae pyinterop 2012-12-22 21:21:05 -05:00
Paul Tagliamonte
f7b85cb655 doing the recursive thing 2012-12-22 21:11:28 -05:00
Paul Tagliamonte
5b50ea4907 adding do support 2012-12-22 19:46:10 -05:00
Paul Tagliamonte
b078155661 issues 2012-12-22 19:38:54 -05:00
Paul Tagliamonte
a0842d278a adjusting the logic for neg nums 2012-12-22 17:50:38 -05:00
Paul Tagliamonte
1dba233118 adding more ops 2012-12-22 17:15:46 -05:00
Paul Tagliamonte
412e42a43e adding comparitors 2012-12-22 17:08:02 -05:00