Hy fork
Go to file
Brian McKenna 0177541d9b Add items, values and keys methods to HyDict
Useful for macros, for example:

    (defmacro defn-checked [n x b]
      `(defn ~n [(unquote-splice (.keys x))]
        (print "Expecting:" (unquote-splice (.values x))) ~b))

    (defn-checked hello {name str age int}
      (print "Hello" name "you are" age))

    (hello "Godzilla" 60)

    ;; Expecting: <type 'str'> <type 'int'>
    ;; Hello Godzilla you are 60
2014-01-25 15:55:38 -07:00
bin bin/hy2py: Add a bunch of command-line options 2014-01-14 09:17:56 +01:00
docs Document hyc command line options. 2014-01-25 21:43:08 +02:00
eg Move "hy on meth" example to eg/. 2014-01-14 06:03:57 +02:00
hy Add items, values and keys methods to HyDict 2014-01-25 15:55:38 -07:00
scripts Some small doc fixes 2013-12-31 16:14:05 -07:00
tests Merge branch 'master' into pr/468 2014-01-23 22:14:23 +01:00
.coveragerc Adding support for coverage tests at coveralls 2013-12-03 01:58:35 +05:30
.gitignore Provide bin scripts for both Windows and *nix 2013-07-14 09:06:42 -06:00
.travis.yml Adding support for coverage tests at coveralls 2013-12-03 01:58:35 +05:30
AUTHORS Wrong email id, I messed up that commit 2014-01-20 22:46:17 +05:30
LICENSE Removing my name from the license. 2013-04-05 20:04:36 -04:00
make.bat Add a "clean" target to make and make.bat 2014-01-02 11:28:31 +02:00
Makefile Add a "clean" target to make and make.bat 2014-01-02 11:28:31 +02:00
NEWS Merge pull request #406 from paultag/paultag/bugfix/im-an-idiot 2013-12-31 11:12:15 -08:00
README.md fixed readthedocs links and updated the quickstart URL 2014-01-08 03:53:02 +01:00
requirements-dev.txt Remove astor from requirements-dev.txt. 2013-12-23 08:12:22 +02:00
requirements.txt Update requirements.txt and setup.py to use rply upstream. 2013-12-08 07:11:42 +02:00
setup.cfg Adding in some basic bits in 2013-03-02 20:58:58 -05:00
setup.py Add astor to install_requires. 2013-12-10 17:46:45 +02:00
tox.ini Nuke the rply git checkout from tox.ini 2013-12-23 15:31:36 +01:00

Hy

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

Build Status Downloads version Coverage 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