hy/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
..
compilers Give an error on empty attributes (#1138) 2016-11-30 07:00:48 +02:00
importer hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
lex Add a module for getting reserved words (#1171) 2016-12-12 10:11:42 +02:00
macros Overhaul macros to allow macros to ref the Compiler 2015-12-23 15:52:47 -05:00
models Don't sort or deduplicate the items in a HySet 2016-09-26 09:47:04 -07:00
native_tests add defmacro! and fix macro expansion error message (#1172) 2016-12-14 18:10:46 -06:00
resources Give require the same features as import (#1142) 2016-11-03 09:35:58 +02:00
test_files Run file using hy -i 2015-02-28 18:11:42 +10:00
__init__.py Add lazy sequences into contrib 2016-11-08 21:23:49 +02:00
test_bin.py Run file using hy -i 2015-02-28 18:11:42 +10:00