Commit Graph

218 Commits

Author SHA1 Message Date
Paul Tagliamonte
981ebf5ca5 unstaged changes 2013-03-11 09:37:29 -04:00
Paul R. Tagliamonte
85ffdbdb8a 0.9.0, screw it. 2013-03-10 17:42:11 -04:00
Paul R. Tagliamonte
2b908254ac style fixups, unbreaking print 2013-03-10 15:39:27 -04:00
Paul R. Tagliamonte
55062b3845 Adding in a bit of voodoo. 2013-03-10 15:32:27 -04:00
Paul R. Tagliamonte
ecca456bdf Adding in some Pygments code. 2013-03-10 12:59:16 -04:00
Paul R. Tagliamonte
3f29114fe1 Fiddling with the site. 2013-03-10 10:58:31 -04:00
Paul R. Tagliamonte
57bf7b5cba syntax fixes 2013-03-10 10:35:08 -04:00
Paul R. Tagliamonte
0a86226da0 fixing up dicts + macros 2013-03-10 10:30:03 -04:00
Paul R. Tagliamonte
4f856c35d4 adding in dotted notation 2013-03-09 22:04:38 -05:00
Paul R. Tagliamonte
44f5035919 reflowing; docstrings 2013-03-09 21:16:28 -05:00
Paul R. Tagliamonte
4ce12c93a5 adding in kwapply things. 2013-03-09 21:14:30 -05:00
Paul R. Tagliamonte
b1c3a758f9 adding in decorators 2013-03-09 21:01:59 -05:00
Paul R. Tagliamonte
3dba5f7aff futz with name things. 2013-03-09 19:46:32 -05:00
Paul R. Tagliamonte
821ca442aa allowing foo-bar 2013-03-09 18:58:47 -05:00
Paul R. Tagliamonte
0424446d56 adding in noteq 2013-03-09 17:15:56 -05:00
Paul R. Tagliamonte
ccfcefe207 adjust calling bits to allow ((foo)) 2013-03-09 16:42:07 -05:00
Paul R. Tagliamonte
276df1b103 thinking through some manglers. 2013-03-09 16:34:35 -05:00
Paul R. Tagliamonte
8a2ba20407 Adding in lambdas. 2013-03-09 15:57:13 -05:00
Paul R. Tagliamonte
a19d085620 Adding in better things. 2013-03-09 15:10:49 -05:00
Paul R. Tagliamonte
f97cb5e4cb adding in array access 2013-03-09 00:55:27 -05:00
Paul R. Tagliamonte
ab2cf5beda futzing with condlike things. 2013-03-09 00:17:02 -05:00
Paul R. Tagliamonte
ce3e7a2d37 adding in more tests. 2013-03-09 00:01:43 -05:00
Paul R. Tagliamonte
05893569d7 thinking things out. 2013-03-08 23:41:04 -05:00
Paul R. Tagliamonte
8c07829ff9 thinking about some new stuff. 2013-03-08 23:07:21 -05:00
Paul R. Tagliamonte
7c7a613c9c adding a bit more coverage 2013-03-08 20:45:19 -05:00
Paul R. Tagliamonte
db39a81a30 fixing the thinger. 2013-03-08 20:21:32 -05:00
Paul Tagliamonte
3028570995 fail! 2013-03-08 18:47:59 -05:00
Paul Tagliamonte
abf63fca12 fixing up the tests 2013-03-08 18:46:51 -05:00
Paul Tagliamonte
67b803b99a Breaking things to start again. 2013-03-08 18:18:43 -05:00
Paul R. Tagliamonte
dbd9f0bbf8 Q'plah! 2013-03-07 23:04:20 -05:00
Paul R. Tagliamonte
4945d0aa14 fixing python 3 2013-03-07 22:56:35 -05:00
Paul R. Tagliamonte
3166fec53e Thinking some ideas out. 2013-03-07 22:52:47 -05:00
Paul R. Tagliamonte
b520d3148b Revert "Adding in Quoting bits."
This reverts commit db122f2ec9.

I'm an idjiot.
2013-03-07 21:37:43 -05:00
Paul R. Tagliamonte
db122f2ec9 Adding in Quoting bits. 2013-03-07 21:29:18 -05:00
Paul Tagliamonte
173598d055 add spaceless things 2013-03-07 19:23:11 -05:00
Paul R. Tagliamonte
d5de7a480b returnable stuf 2013-03-06 22:13:14 -05:00
Paul R. Tagliamonte
e6d094fd40 Add in for loops. 2013-03-06 22:09:13 -05:00
Paul R. Tagliamonte
935ef5424e Add in dicts. 2013-03-06 20:59:45 -05:00
Paul Tagliamonte
863d619e4a cleaning up lexing code 2013-03-06 18:57:21 -05:00
Paul R. Tagliamonte
da234b1d8f adding in thingers. 2013-03-05 22:08:53 -05:00
Paul R. Tagliamonte
f950717e5a Py3.3 fix 2013-03-05 21:49:46 -05:00
Paul R. Tagliamonte
37a11247c7 Tweaking the AST. 2013-03-05 21:42:54 -05:00
Paul R. Tagliamonte
7a925b5ee4 futzing with ideas 2013-03-05 20:28:09 -05:00
Paul Tagliamonte
0638cfa187 ideas, ideas. 2013-03-05 18:39:34 -05:00
Paul Tagliamonte
4a78498133 adding numbers 2013-03-05 18:28:27 -05:00
Paul Tagliamonte
12d7fc6726 trainhacking++ 2013-03-05 18:16:04 -05:00
Paul Tagliamonte
fecf17960d unstaged changes 2013-03-05 09:08:13 -05:00
Paul R. Tagliamonte
9a31fc1f81 Futzin' with some things. 2013-03-04 22:35:07 -05:00
Paul R. Tagliamonte
4d32dac9ad Moving the compiler stuff around. 2013-03-04 20:40:23 -05:00
Paul R. Tagliamonte
3935c87739 style 2013-03-04 20:38:24 -05:00
Paul Tagliamonte
20805fc7b2 tweaking the ast. 2013-03-04 19:12:57 -05:00
Paul R. Tagliamonte
9e16fb4ca0 Very broken. 2013-03-03 19:40:46 -05:00
Paul R. Tagliamonte
ef9007c229 Futzing about. 2013-03-03 16:26:17 -05:00
Paul R. Tagliamonte
b37d92fe28 better line bits. 2013-03-03 14:03:59 -05:00
Paul R. Tagliamonte
e992c8dd38 Style fixes 2013-03-03 13:13:11 -05:00
Paul R. Tagliamonte
a9b5d851b2 Fiddling with more AST testing 2013-03-03 13:10:50 -05:00
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 a0ea3ffb8f.
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