Hy fork
2375392962
Currently '.replace' method is used to replace hy objects. This is not safe when we are not sure if the 'obj' in 'obj.replace(other)' is an instance of HyObject. In these cases, we can use function 'replace_hy_obj(obj, other)' instead. This function will try to wrap 'obj' if it's not an instance of HyObject. This also means that we need a wrapping function in hy.models'. Hence I moved the '_wrap_value' function from hy.macros into hy.models. To avoid circular importing, the wrapper functions are provided individually by each model type's own file. |
||
---|---|---|
bin | ||
docs | ||
eg | ||
hy | ||
scripts | ||
tests | ||
.coveragerc | ||
.dockerignore | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
CONTRIBUTING.rst | ||
Dockerfile | ||
LICENSE | ||
make.bat | ||
Makefile | ||
NEWS | ||
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
- Docs: http://hylang.org/
- Quickstart: http://hylang.org/en/latest/quickstart.html
- Bug reports: We have no bugs! Your bugs are your own! (https://github.com/hylang/hy/issues)
- License: MIT (Expat)