Commit Graph

927 Commits

Author SHA1 Message Date
Paul Tagliamonte
289586b340 Adding back in keywords.
Yes, I'm your hero, @algernon
2013-06-18 22:57:51 -04:00
Paul Tagliamonte
f9b13a625f Style fix 2013-06-18 21:48:42 -04:00
Paul Tagliamonte
b00f181e1e Merge branch 'master' into pr/187 2013-06-18 21:17:13 -04:00
Paul Tagliamonte
2e7cd16169 add in a clint example while I ponder hy scripts using it 2013-06-08 20:35:50 -04:00
Paul Tagliamonte
8935a998ad Add @thomasballinger to AUTHORS 2013-06-08 20:18:34 -04:00
Paul Tagliamonte
4aca7842cd Add regression test for UTF and escapes. 2013-06-08 20:17:50 -04:00
Paul Tagliamonte
0f9324e794 Merge branch 'master' into pr/192 2013-06-08 20:13:53 -04:00
Paul Tagliamonte
126a623d0f Merge branch 'master' into pr/190 2013-06-08 20:11:52 -04:00
Paul Tagliamonte
d15aa31a32 style fixes 2013-06-08 20:10:27 -04:00
Thomas Ballinger
00da0468e6 larger kludge for escaped characters 2013-06-07 17:07:22 -04:00
Konrad Hinsen
2674016d3d More tests 2013-06-07 16:36:04 +02:00
Konrad Hinsen
6eacf63b53 Provide both eval-and-compile and eval-when-compile 2013-06-07 16:36:04 +02:00
Konrad Hinsen
80105d9731 eval-when-compile permits compile-time definitions that can be used from macros 2013-06-07 16:36:04 +02:00
Konrad Hinsen
12abef5ed5 Forgot boolean constants.. 2013-06-07 16:35:28 +02:00
Thomas Ballinger
00f655c3a1 grammar in api.rst 2013-06-07 00:53:53 -03:00
Konrad Hinsen
e47bac1f96 Permit macros to return constants 2013-06-05 12:19:06 +02:00
Paul Tagliamonte
2c582fbd52 I'm an idiot, Sorry, @aldeka 2013-06-01 22:04:55 -04:00
Paul Tagliamonte
8cb3102365 Adding in @aldeka 's cuddles image! 2013-06-01 22:03:30 -04:00
Christopher Allan Webber
0f266fee9b Move TODO from being an actual block of visible text to a comment
This is cleaner and more respectable :)
2013-05-20 18:26:36 -05:00
Christopher Allan Webber
e5de92178d We should introdeuce people to the tutorial before we toss them at hacking 2013-05-20 18:25:26 -05:00
Christopher Allan Webber
c3811b5e71 Replacing cuddles ascii art with the cuddles drawing, restoring hy logo 2013-05-20 18:17:11 -05:00
Paul Tagliamonte
c463489584 thanks @olasd 2013-05-20 15:49:51 -04:00
Paul Tagliamonte
2b655d59ae fixing the image src 2013-05-20 15:45:43 -04:00
Paul Tagliamonte
fbed4c4fa8 forgot this guy 2013-05-18 13:07:11 -04:00
Paul Tagliamonte
8ad718bda7 adding in @doctormo love 2013-05-17 20:52:52 -04:00
Paul Tagliamonte
9c28e0292d Merge branch 'master' into pr/185
Conflicts:
	hy/macros.py
	tests/compilers/test_compiler.py

Hoodoggy!
2013-05-17 11:17:51 -04:00
Paul Tagliamonte
c0fd41620f Merge branch 'master' into pr/182 2013-05-17 11:09:37 -04:00
Paul Tagliamonte
5a1b004bfb Merge branch 'master' into pr/179 2013-05-17 11:08:30 -04:00
Paul Tagliamonte
81096596c7 style fix - long line 2013-05-17 11:07:36 -04:00
Paul Tagliamonte
9b1dba0564 Merge branch 'master' into pr/177 2013-05-17 11:03:45 -04:00
Konrad Hinsen
269da19d76 Make macros module-specific.
A macro is available in the module where it was defined and
in any module that does a require of the defining module.
Only macros defined in hy.core are globally available.
Fixes #181
2013-05-16 15:34:14 +02:00
Konrad Hinsen
b7c5ff2991 Refactor test_ast.py to eliminate the lots of hy_compile(tokenize(...)) calls 2013-05-16 15:30:44 +02:00
Nicolas Dandrimont
f939ae9544 Test quoting dicts 2013-05-14 12:10:29 +02:00
Nicolas Dandrimont
3252af3129 Add tests for expr-in-dict 2013-05-14 12:01:23 +02:00
Nicolas Dandrimont
9e03e0e6ec Modify HyDict semantics to allow nesting expressions
HyDicts are now HyLists, that get compiled down to dicts
only by the compiler.
2013-05-14 11:43:17 +02:00
Julien Danjou
66e5af4a82 Write a test for builds() check
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-14 11:03:13 +02:00
Paul Tagliamonte
4d625fff20 Add @rogererens to authors 2013-05-13 19:59:54 -04:00
rogererens
65585434db Update tutorial.rst
I did some elaborate math checking...
2013-05-13 18:39:29 +02:00
Julien Danjou
4e202aa1a5 Check that compiler error are user always user friendly
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-13 18:14:39 +02:00
Paul Tagliamonte
de85940114 Meh, 0.9.8 time. 2013-05-12 13:40:53 -04:00
Paul Tagliamonte
8717d40e19 Rushed fix for the contrib.meth macros 2013-05-12 13:40:30 -04:00
Paul Tagliamonte
5a82585a7f NEWS update 2013-05-12 13:40:21 -04:00
Paul Tagliamonte
f4e32050cf Merge branch 'master' into pr/175 2013-05-11 16:40:49 -04:00
Nicolas Dandrimont
1e7c90c44e Test requires from native code 2013-05-11 21:25:21 +02:00
Nicolas Dandrimont
bd478590fa Make that test macro more lispy 2013-05-11 21:25:21 +02:00
Nicolas Dandrimont
5a74fff7e6 Fix up the native-macros to use compiler imports 2013-05-11 21:25:21 +02:00
Nicolas Dandrimont
31c14e4167 Merge remote-tracking branch 'paultag/feature/native-macros' into feature/native-macros
Conflicts:
	hy/compiler.py
	tests/__init__.py
2013-05-11 20:18:40 +02:00
Paul Tagliamonte
636eec8f51 style fixes 2013-05-11 13:59:19 -04:00
Nicolas Dandrimont
0bbce2a819 Add a native macros test 2013-05-11 19:40:48 +02:00
Nicolas Dandrimont
4ffe20e853 eval macros at compile time 2013-05-11 19:40:27 +02:00