Christopher Allan Webber 774aad2ca8 defmain macro; handles the whole if __name__ == __main__ / main function dance
Example:

  (defmain [&rest args]
    (print "now we're having a fun time!")
    (print args))

Which outputs:

  $ hy test.hy
  now we're having a fun time!
  (['test.hy'],)

Includes documentation and tests.
2014-04-10 13:58:38 -05:00
2014-03-18 10:08:20 +02:00
2014-04-09 20:10:31 +03:00
2014-01-31 03:43:03 +02:00
2014-03-18 16:06:11 +02:00
2013-04-05 20:04:36 -04:00
2014-03-14 10:21:07 -04:00
2014-02-10 17:29:35 -06:00
2014-03-18 10:33:10 +02:00
2014-03-18 10:27:35 +02:00

Hy

Build Status Downloads version Coverage Status

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

Hylarious Hacks

Django + Lisp

Python sh fun

Hy IRC bot

miniKanren in Hy

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 awesome.

Oh, and lisps are neat.

(fan art from the one and only doctormo)

Project

Description
Hy fork
Readme 6.1 MiB
Languages
Python 50.7%
Hy 41.5%
reStructuredText 7.1%
Batchfile 0.4%
Makefile 0.3%