Hy fork
Go to file
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
bin Make hy2py public. 2014-04-30 01:51:21 +03:00
docs add defmacro! and fix macro expansion error message (#1172) 2016-12-14 18:10:46 -06:00
eg Drop a set of brackets from let. 2015-10-01 10:08:04 +02:00
hy add defmacro! and fix macro expansion error message (#1172) 2016-12-14 18:10:46 -06:00
scripts Drop a set of brackets from with. 2015-10-01 10:08:04 +02:00
tests add defmacro! and fix macro expansion error message (#1172) 2016-12-14 18:10:46 -06:00
.coveragerc fix CI by moving exclude_lines .coveragerc setting to a new [report] § 2015-09-23 22:44:19 -07:00
.dockerignore Add initial .dockerignore file 2014-10-06 13:37:51 -06:00
.gitignore Generate hy.version using `git describe` 2016-10-12 17:11:44 -07:00
.mailmap added new mail 2014-09-08 14:56:04 +02:00
.travis.yml Test Python 3.6 apart from nightly (#1133) 2016-10-12 16:11:46 -06:00
AUTHORS Add a module for getting reserved words (#1171) 2016-12-12 10:11:42 +02:00
CONTRIBUTING.rst CONTRIBUTING.rst: Add different versions of docs (#1164) 2016-12-08 12:48:50 +02:00
Dockerfile update my email 2014-11-22 10:28:31 -05:00
LICENSE Removing my name from the license. 2013-04-05 20:04:36 -04:00
Makefile Ignore a new Flake8 whitespace error (#1158) 2016-11-27 09:54:59 +02:00
NEWS Fix typos 2016-07-01 16:44:12 +02:00
README.md Include original XKCD title text in comic image 2016-05-09 13:58:43 -04:00
make.bat Implement yield-from in Python 2.x as a macro 2014-11-20 20:48:15 -06:00
requirements-dev.txt Make ci builds faster by splitting requirements 2014-05-13 22:47:19 +05:30
requirements-travis.txt Add a `Botsbuildbots` function 2014-09-05 12:37:51 +02:00
setup.cfg Add universal Wheel support. 2014-03-18 10:33:10 +02:00
setup.py Merge branch 'entry_point' 2016-11-25 16:04:24 -08:00
tox.ini Ignore a new Flake8 whitespace error (#1158) 2016-11-27 09:54:59 +02:00

README.md

Hy

Build Status Downloads Version Coverage Status

XKCD #224

Lisp and Python should love each other. Let's make it happen. Try it.

Hylarious Hacks

OK, so, why?

Well. Python is awesome. So awesome, that we have so many tools to alter the language in a core way, but we never use them.

Why?

Well, I wrote Hy to help people realize one thing about Python:

It's really awesome.

Oh, and lisps are neat.

Cuddles the Hacker

(fan art from the one and only doctormo)

Project