hylang/hy — pull request #265 by rwtolbert (2013-07-26 14:45:13+00:00)
Title: Add CL handling to hyc

This adds real command line handling to 'hyc' for issue #256

Adds compilation of a set of files, instead of only one

This fix catches missing/unreadable files and prints a nice
error message instead of a nasty stack trace when trying to
compile a non-existent file.

Also add this non-existent file check to hy to prevent the
current stack trace from something like "hy foobarbaz" when
"foobarbaz" doesn't exist.

Changes the failure return value to 2 to match Python.