Gergely Nagy fee7d33184
Guard against a few invalid list comprehension cases
Some valid-looking list comprehensions, such as (genexpr x []) can crash
Python 2.7. The AST we generate from these cannot be expressed in
Python, but were valid in Hy.

Added two guards to guard against this, so we raise an error instead of
crashing Python.

Closes #572, #591 and #634.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-08-10 15:55:11 +02:00
2014-04-30 01:51:21 +03:00
2015-08-09 00:53:10 -06:00
2015-08-09 01:09:52 -06:00
2014-10-06 13:37:51 -06:00
2015-08-10 10:31:45 +02:00
2014-09-08 14:56:04 +02:00
2015-08-05 21:43:51 -06:00
2015-06-23 14:28:56 +02:00
2014-11-22 10:28:31 -05:00
2013-04-05 20:04:36 -04:00
2015-05-03 10:19:25 -07:00
2015-06-23 08:33:42 -04:00
2014-03-18 10:33:10 +02:00
2015-07-22 12:37:31 -04:00

Hy

Build Status Downloads Version Coverage Status

XKCD #224

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.

Cuddles the Hacker

(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%