Hy fork
Go to file
Bob Tolbert 41ae4f4d2c Update:
Updated most methods to replace While with For, and added tons of new tests
    for things like (cycle []) and lists with None's in them.

    thanks @olasd

Add set of new core functions

Add set of new core functions to the stdlib.

Moved the auto-import code from compile_expression to
HySymbol so that "even?' in this style expression will
be found and imported.

(list (filter even? [1 2 3 4 5]))

The core functions are documented in 2 sections, one
for basic functions like (even?..) and (nth ...) and
one for all the sequence functions.

Update: This removes all the caching decorators, misnamed as
'lazy-seq' from the core. All sequence methods now just use
yield to return a generator, so they are Python-lazy

Further refinements of core functions

Cleaned up the docs to use 'iterator' instead of 'generator'

Fixed drop to just return the iterator instead of an extra
yield loop. But also added a test to catch dropping too
many.
2013-07-29 08:52:28 -06:00
bin Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
docs Merge branch 'master' into pr/236 2013-07-27 10:22:38 -04:00
eg Removes setf in favor of setv 2013-07-10 02:16:49 +02:00
hy Update: 2013-07-29 08:52:28 -06:00
maintainer-scripts Adding in the mant thinger. 2013-04-15 08:37:25 -04:00
tests Update: 2013-07-29 08:52:28 -06:00
.gitignore Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
.travis.yml Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
AUTHORS Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
LICENSE Removing my name from the license. 2013-04-05 20:04:36 -04:00
make.bat Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
Makefile removing site target 2013-04-12 23:46:28 -04:00
NEWS Update NEWS. 2013-07-07 14:03:25 -04:00
README.md forgot this guy 2013-05-18 13:07:11 -04:00
requirements-dev.txt Added astor as dev prereq 2013-06-22 19:17:31 -06:00
requirements.txt Adding back Python 2.6. 2013-03-13 20:02:16 -04:00
setup.cfg Adding in some basic bits in 2013-03-02 20:58:58 -05:00
setup.py Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
tox.ini Add in a new core language file. 2013-06-29 18:51:11 -04:00

Hy

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

Build Status

Hylarious Hacks

Django + Lisp

Python sh fun

Hy IRC bot

OK, so, why?

Well. Python is awesome. So awesome, that we have so many tools to alter the languge 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 goddamn awesome.

Oh, and lisps are neat.

(fan art from the one and only doctormo)

Project