712 Commits

Author SHA1 Message Date
Paul R. Tagliamonte
6eb6a0d24c fiddling with asts 2013-03-03 12:52:24 -05:00
Paul R. Tagliamonte
6661d85323 Add some failing tests in. 2013-03-03 11:18:13 -05:00
Paul R. Tagliamonte
8ce7871bf1 AST'ing. Let's go for this. 2013-03-02 23:48:22 -05:00
Paul R. Tagliamonte
b42fdc0bb7 Adding more testing. 2013-03-02 23:47:16 -05:00
Paul R. Tagliamonte
efdccb75bb fiddlebits 2013-03-02 23:36:57 -05:00
Paul R. Tagliamonte
f7ff953f7e Updating states / tests for more stuff. 2013-03-02 21:08:23 -05:00
Paul R. Tagliamonte
b777ac42a7 Update etc 2013-03-02 20:38:18 -05:00
Paul R. Tagliamonte
159151f847 thingthings. like licensing. 2013-03-02 20:24:32 -05:00
Paul R. Tagliamonte
797656b1fd Add some line bits. 2013-03-02 19:41:55 -05:00
Paul R. Tagliamonte
f14ccb6d22 Adding in the Integer bits. 2013-03-02 19:28:10 -05:00
Paul R. Tagliamonte
ea326ee29b Fiddling with the lexing. 2013-03-02 18:40:00 -05:00
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