Hy fork
Go to file
Simon Gomizelj b27cdfed69 Fix defclass construction
Python Class AST expects a body which is a list of ast.Expr. Force
every entry to be stored as a statement. This means we'll preserve
print statements.

Python also doesn't construct docstrings in classes by setting a
__doc__ attribute, it does it by inspecting the first ast.Expr node of
the class. But this means we can remove the special handler for it.
2018-03-31 02:43:53 -04:00
bin Make hy2py public. 2014-04-30 01:51:21 +03:00
docs Code review feedback 2018-03-26 22:47:12 -04:00
hy Fix defclass construction 2018-03-31 02:43:53 -04:00
scripts Remove the obsolete reformat-changelog script 2018-02-13 15:32:40 -08:00
tests Fix defclass construction 2018-03-31 02:43:53 -04:00
.dockerignore Add initial .dockerignore file 2014-10-06 13:37:51 -06:00
.gitignore Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
.mailmap added new mail 2014-09-08 14:56:04 +02:00
.travis.yml On Travis, don't allow Python 3.7 to fail 2018-03-24 12:34:43 -07:00
AUTHORS Update NEWS and AUTHORS 2017-12-31 09:03:39 -05:00
conftest.py Simplify conftest for loading hy modules 2018-02-08 13:38:45 -05:00
CONTRIBUTING.rst Policy: allow PRs to be merged more easily 2018-02-24 10:04:56 -08:00
Dockerfile update my email 2014-11-22 10:28:31 -05:00
get_version.py Remove the documentation's dependency on Hy itself 2017-05-23 11:28:28 -07:00
LICENSE Update copyright years 2018-01-01 10:38:33 -05:00
make.bat Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
Makefile Drop --allow-all-external, deprecated by PEP 470 2018-02-14 16:05:31 -05:00
MANIFEST.in Convert NEWS to reStructuredText 2018-02-13 15:31:52 -08:00
NEWS.rst Fix defclass construction 2018-03-31 02:43:53 -04:00
README.md Remove obsolete shields in README 2018-03-06 11:50:17 -08:00
requirements-dev.txt Require a sufficiently recent version of pytest 2017-08-26 21:57:43 -07:00
requirements-travis.txt Require a sufficiently recent version of pytest 2017-08-26 21:57:43 -07:00
setup.cfg Turn on pytests's warning reporter 2018-02-14 16:05:31 -05:00
setup.py Update NEWS and classifiers for Python 3.7 support 2018-03-24 12:39:54 -07:00
tox.ini Add posargs to tox test runner 2018-02-14 16:05:31 -05:00

Hy

Build Status Version

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