Paul R. Tagliamonte
83a9bdc87d
adding in rest macros
2013-03-18 19:49:36 -04:00
Paul R. Tagliamonte
a58c813dda
adding in a slice operator
2013-03-18 19:47:48 -04:00
Paul R. Tagliamonte
8f6c77831b
Adding first' /
car'
2013-03-18 16:11:29 -04:00
Paul R. Tagliamonte
4cb4e7384e
holy shit it's 2013
2013-03-18 10:27:14 -04:00
Paul R. Tagliamonte
da65ba4b4c
Releasing 0.9.2
2013-03-15 15:35:25 -04:00
Paul R. Tagliamonte
791a7f212e
adding set thinger in
2013-03-15 15:33:51 -04:00
Paul R. Tagliamonte
7741b2e1dd
Adding in #! as a comment
2013-03-14 21:03:33 -04:00
Paul R. Tagliamonte
3c288519ac
adding in yielding
2013-03-14 20:55:11 -04:00
Paul R. Tagliamonte
4172ca2db7
Fixing up the REPL a skitchbit.
2013-03-14 19:44:33 -04:00
Paul R. Tagliamonte
ff37c47c43
Adding in a Hy REPL
2013-03-14 17:36:38 -04:00
Paul R. Tagliamonte
9b32506854
Fixing catch a bit to now force a param.
2013-03-14 09:21:03 -04:00
Paul R. Tagliamonte
36bc16211e
Tweaking out the machine voodoo.
2013-03-13 21:30:17 -04:00
Paul R. Tagliamonte
0bc2dd8d00
Moving `for' to a "macro"
2013-03-13 20:41:53 -04:00
Paul R. Tagliamonte
a238ac53c3
Adding back Python 2.6.
2013-03-13 20:02:16 -04:00
Paul Tagliamonte
57775a95a6
Fiddling with the threading macro
2013-03-13 10:11:14 -04:00
Paul R. Tagliamonte
daa6443e7c
Adding in a Threading macro (->)
2013-03-12 22:04:51 -04:00
Thomas Mashek
d68c1149e2
Merge branch 'master' of github.com:tenach/hy into earmuffs
2013-03-12 13:09:15 -07:00
Thomas Mashek
b6eca8dfc0
Earmuff stuff.
2013-03-12 12:46:20 -07:00
Thomas Mashek
8a88b2a0f0
Making dict comprehension work with py2.6
2013-03-12 12:39:23 -07:00
Paul R. Tagliamonte
84a7fbb301
Time for 0.9.1.
2013-03-11 21:14:45 -04:00
Paul R. Tagliamonte
cdffc9d9d1
Forcing newlines
2013-03-11 20:40:38 -04:00
Paul R. Tagliamonte
9c3a3a13c9
Adding in commit juju
2013-03-11 20:33:06 -04:00
Paul R. Tagliamonte
9f057e8c8f
Fixing 3.x AST
2013-03-11 20:17:27 -04:00
Paul Tagliamonte
b12e14b96b
Adding in CodeMirror stuff. Makin' moves.
2013-03-11 19:14:20 -04:00
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
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
Paul Tagliamonte
c60d410426
a bit more consise
2012-12-22 16:39:03 -05:00
Paul Tagliamonte
004eb9a977
More bad hackery.
2012-12-22 16:37:10 -05:00
Paul Tagliamonte
1b0ed7be2a
docstrings
2012-12-22 16:08:52 -05:00
Paul Tagliamonte
975bdc2dd1
docs
2012-12-22 16:04:53 -05:00
Paul Tagliamonte
5da72224f4
muhahah
2012-12-22 15:49:03 -05:00
Paul Tagliamonte
7b68b34f53
foo
2012-12-22 14:43:20 -05:00
Paul Tagliamonte
cb0d6d45f9
Hacking on some AST, I think.
2012-12-22 14:40:54 -05:00
Paul Tagliamonte
ff1a97485b
small interesting bits.
2012-12-22 14:03:56 -05:00
Paul Tagliamonte
d428f454b6
adding natives
2012-12-22 00:30:34 -05:00
Paul Tagliamonte
9612601fce
Merge branch 'master' of github.com:paultag/hymenoptera
2012-12-22 00:18:50 -05:00
Paul Tagliamonte
1bb84ebc10
need @twneale to help me out. brodawg.
2012-12-22 00:21:25 -05:00
Paul Tagliamonte
395943ca53
some hacking
2012-12-22 00:18:37 -05:00
Paul Tagliamonte
ae3f30b5e9
docstrings m'fa'
2012-12-22 00:09:41 -05:00
Paul Tagliamonte
196bd8cf98
get thing
2012-12-18 23:54:38 -05:00
Paul Tagliamonte
bfb3ce8138
fiddle bits
2012-12-18 23:44:44 -05:00
Paul Tagliamonte
ffbb362d3c
cleaning some things up
2012-12-18 23:28:39 -05:00
Paul Tagliamonte
e98f3135c5
adding in voodoo
2012-12-18 22:38:41 -05:00
Paul Tagliamonte
c88ab1f787
Heh, now I can run a REPL
2012-12-18 22:36:25 -05:00
Paul Tagliamonte
deb0f5820b
Adding in eval
2012-12-18 22:29:52 -05:00
Paul Tagliamonte
8bc58b0c50
returning some goodies.
2012-12-18 21:20:41 -05:00
Paul Tagliamonte
cda5c6534b
making some language changes.
2012-12-18 21:11:38 -05:00
Paul Tagliamonte
7f4b4f8bf8
Getting fib working :>
2012-12-18 19:02:50 -05:00
Paul Tagliamonte
c02900412c
last thing
2012-12-18 13:05:02 -05:00
Paul Tagliamonte
a1af08819d
hacked this over lunch
2012-12-18 13:03:29 -05:00
Paul Tagliamonte
4f5bc16508
hacking on stuff.
2012-12-18 09:11:42 -05:00
Paul Tagliamonte
94040dfbd3
python3ing the code
2012-12-17 10:01:02 -05:00
Paul Tagliamonte
a0e95692e0
last tweaks
2012-12-17 09:34:10 -05:00
Paul Tagliamonte
10b3d6c3cc
Tooling around real quick from this morning
2012-12-17 09:26:24 -05:00
Paul Tagliamonte
14e716f05f
late night hacks
2012-12-17 01:22:37 -05:00
Paul Tagliamonte
0081d4fdfc
Updating for numbers
2012-12-16 21:44:14 -05:00
Paul Tagliamonte
3b7caa92e2
updates
2012-12-16 21:34:41 -05:00
Paul Tagliamonte
0ec30fd75b
Hash-maps from the ballroom
2012-12-16 21:09:11 -05:00
Paul Tagliamonte
fc47831ed7
um, awesome?
2012-12-16 18:15:18 -05:00
Paul Tagliamonte
c55f501d2e
Frickn' awesome.
2012-12-16 17:46:33 -05:00
Paul Tagliamonte
c8937f8f07
Adding in s'more testing.
2012-12-16 17:14:31 -05:00
Paul Tagliamonte
8994f4fbb9
Adding in more better voodoo.
2012-12-16 16:52:52 -05:00
Paul Tagliamonte
1c6874f779
Uh, lolwut?
2012-12-16 16:36:44 -05:00
Paul Tagliamonte
868d1cbd6e
cute little test. still fscked.
2012-12-16 14:57:39 -05:00
Paul Tagliamonte
154ba2dfe4
doing some scratch work.
2012-12-16 14:33:49 -05:00
Paul Tagliamonte
c2b87efc6c
Tooling around with some things.
2012-12-16 09:39:37 -05:00
Paul Tagliamonte
73e43d71b7
Interesting changes; starting work on ASTing the tree
2012-12-16 08:24:22 -05:00
Paul Tagliamonte
03f25f0cbe
updating tests
2012-12-15 18:38:34 -05:00
Paul Tagliamonte
5975f2c8d6
Adding lists to the lexable things
2012-12-15 18:20:15 -05:00
Paul Tagliamonte
ec06d6af88
cleanup
2012-12-15 17:47:05 -05:00
Paul Tagliamonte
45cf8ac453
Flake issues
2012-12-15 17:44:38 -05:00
Paul Tagliamonte
8f20829b08
adding in test for more stuff.
2012-12-15 17:39:10 -05:00
Paul Tagliamonte
457d84e3f7
Adding in better tests & a fix.
2012-12-15 17:31:23 -05:00
Paul Tagliamonte
68cf93e6d0
adding in some silly lexing voodoo
2012-12-15 17:16:58 -05:00
Paul Tagliamonte
e536d22a88
Interesting changes.
2012-12-15 17:07:11 -05:00
Paul Tagliamonte
f7552149db
Adding in a test lexer.
2012-12-15 16:26:03 -05:00
Paul Tagliamonte
925b9ec0a5
Initial import.
2012-12-15 14:48:16 -05:00