hy/tests/resources
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
..
bin defmain macro; handles the whole if __name__ == __main__ / main function dance 2014-04-10 13:58:38 -05:00
importer Don't leave cruft around in sys.modules when an import fails. 2013-07-06 20:37:44 +02:00
__init__.py Test importing things with dashes 2013-04-07 09:54:53 -04:00
argparse_ex.hy Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
tlib.py Change macros to be called with separate arguments 2013-05-11 09:09:34 +02:00