hy/docs/language
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
..
api.rst defmain macro; handles the whole if __name__ == __main__ / main function dance 2014-04-10 13:58:38 -05:00
cli.rst This change updates the required Pygments version to 1.6, which 2014-03-14 09:01:47 -04:00
core.rst Fix versionadded in docs to 0.10.0 release 2014-04-10 23:51:32 +05:30
index.rst Reorganize documentation. 2014-01-25 21:01:16 +02:00
internals.rst This change updates the required Pygments version to 1.6, which 2014-03-14 09:01:47 -04:00
readermacros.rst Light copy-editing 2014-01-17 20:28:24 +01:00