Hy fork
e4a7b317e1
* with-decorator: Allow a `setv` form as the form to be decorated This feature is of dubious value by itself, but it's necessary to allow `defn` to create a lambda instead of a `def`. * Make `fn` work the same as `lambda` That is, allow it to generate a `lambda` instead of a `def` statement if the function body is just an expression. I've removed two uses of with_decorator in hy.compiler because they'd require adding another case to HyASTCompiler.compile_decorate_expression and they have no ultimate effect, anyway. In a few tests, I've added a meaningless statement in `fn` bodies to force generation of a `def`. I've removed `test_fn_compiler_empty_function` rather than rewrite it because it seems like a pain to maintain and not very useful. * Remove `lambda`, now that `fn` does the same thing |
||
---|---|---|
bin | ||
docs | ||
hy | ||
scripts | ||
tests | ||
.coveragerc | ||
.dockerignore | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
CONTRIBUTING.rst | ||
Dockerfile | ||
LICENSE | ||
make.bat | ||
Makefile | ||
MANIFEST.in | ||
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 (latest, for use with bleeding-edge github version): http://hylang.org/
- Docs (stable, for use with the PyPI version): http://docs.hylang.org/en/stable/
- 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)
- Contributor Guidelines & Code of Conduct
- IRC: Join #hy on freenode