hy/tests/native_tests
Tuukka Turto e588b4928d add defmacro! and fix macro expansion error message (#1172)
* added defmacro!

* revert #924

#924 had an error and should never have been merged in the first place. (see #903)

* put back import getargspec

Without the `formatargspec` this time.

* Give better error message on failed macro expansion

Better error messages work most of the time. In cases where there are
parameters that aren't valid in Python, error message shown is rather
ugly. But this is better than no error messages at all and such
macros with strange parameter names are rather rare.

* fix flake8 errors

* Minor English improvements
2016-12-14 18:10:46 -06:00
..
contrib Merge branch 'seq' 2016-12-08 10:27:33 -08:00
__init__.hy ideas, ideas. 2013-03-05 18:39:34 -05:00
cons.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
core.hy Add a module for getting reserved words (#1171) 2016-12-12 10:11:42 +02:00
defclass.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
language.hy Lvalue of setv is checked too early when using or 2016-12-01 09:49:51 +02:00
mathematics.hy Make unary + call __pos__ 2016-09-20 13:05:52 -07:00
native_macros.hy add defmacro! and fix macro expansion error message (#1172) 2016-12-14 18:10:46 -06:00
py3_only_tests.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
quote.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
reader_macros.hy defreader: Allow strings as macro names 2015-12-17 13:24:20 +01:00
shadow.hy Make unary + call __pos__ 2016-09-20 13:05:52 -07:00
unless.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
when.hy Burninate the synonyms true, false, and nil 2016-11-23 18:35:17 -08:00
with_decorator.hy defclass reimagined 2015-08-04 16:43:07 +02:00
with_test.hy Drop a set of brackets from with. 2015-10-01 10:08:04 +02:00