Hy fork
8b6646d5c9
Previously, when importing `hy` (and any of its sub-packages/modules), Hy source compilation for `hy.core.language` was necessarily triggered. This, in turn, would trigger compilation of the other standard library source files. This commit removes that chain of events and allows the `hy` package to be imported without any Hy compilation. Furthermore, `read` and `read_str` are now implemented in Python and the Hy standard library files now handle their own dependencies explicitly (i.e. they `import` and/or `require` the other standard library files upon which they depend). The latter changes were necessary, because the automatically triggered compilation of `hy.core.language` (and associated standard library files) was serving--implicitly--as a means of producing bytecode in an order that just happened to work for any compilation occurring afterward. This chain of events/dependencies was extremely cryptic, brittle, and difficult to debug, and these changes should help to remedy that. Closes hylang/hy#1697. |
||
---|---|---|
bin | ||
docs | ||
hy | ||
scripts | ||
tests | ||
.dockerignore | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
conftest.py | ||
CONTRIBUTING.rst | ||
Dockerfile | ||
fastentrypoints.py | ||
get_version.py | ||
issue_template.md | ||
LICENSE | ||
make.bat | ||
Makefile | ||
MANIFEST.in | ||
NEWS.rst | ||
README.md | ||
requirements-dev.txt | ||
requirements-travis.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Hy
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.
(fan art from the one and only doctormo)
Project
- Code: https://github.com/hylang/hy
- Documentation:
- stable, for use with the latest stable release: http://hylang.org/
- master, for use with the latest revision on GitHub: http://docs.hylang.org/en/master
- Quickstart: http://hylang.org/en/stable/quickstart.html
- Bug reports: We have no bugs! Your bugs are your own! (https://github.com/hylang/hy/issues)
- License: MIT (Expat)
- Hacking on Hy
- IRC: Join #hy on freenode