Commit Graph

2144 Commits

Author SHA1 Message Date
K.Adam White
02d5b0ccf7 Include original XKCD title text in comic image
When I see an XKCD comic, or an adaptation thereof, my first instinct is to look for title text. Not finding any, this proposes adding the original title text back in; if a good Hy-specific adaptation is proposed that'd be even better.

And no, this isn't important :)
2016-05-09 13:58:43 -04:00
Tuukka Turto
0ef9e9ef3b Modify multimethods to use dispatching function 2016-04-16 13:43:13 +03:00
Matthew Egan Odendahl
7e13bb4e5f add as-> macro 2016-04-15 20:33:42 -06:00
Matthew Egan Odendahl
d91dbd19f8 Merge pull request #1 from hylang/master
update from upstream
2016-04-15 20:32:19 -06:00
Ryan Gonzalez
a0251a25ed Merge pull request #1003 from algernon/f/defreader-1-string
defreader: Allow strings as macro names
2016-04-14 12:13:00 -05:00
Matthew Egan Odendahl
eba8e0771a Merge pull request #1015 from kirbyfan64/pypy_lineno
Remove PyPy line number hack (closes #977)
2016-04-13 12:53:16 -06:00
Ryan Gonzalez
6e66edd7a0 Remove PyPy line number hack (closes #977) 2016-04-11 11:18:46 -05:00
timmartin
9d6e04fab0 Keyword arguments to functions are required to be strings (#1023)
See discussion in #961
2016-04-11 18:38:13 +03:00
Zack M. Davis
86db5e33ff merge remote-tracking branch 'lunacodes/contrib-issues' 2016-04-07 21:39:08 -07:00
Luna Lunapiena
118ab9528c Add Luna Lunapiena to AUTHORS 2016-04-07 19:37:25 -04:00
Luna Lunapiena
a820d8ee39 Add links for Fork A Repo and Git Guide in CONTRIBUTING.rst 2016-04-07 19:37:06 -04:00
Ryan Gonzalez
22ddeba4b0 Merge pull request #1038 from levthedev/patch-1
Update AUTHORS
2016-04-04 12:19:29 -05:00
Lev Kravinsky
c069972e05 Update AUTHORS 2016-04-04 12:55:12 -04:00
Paul Tagliamonte
2caf0cc108 Merge pull request #1037 from levthedev/add_irc
add IRC info in readme
2016-03-31 16:11:11 -04:00
Lev Kravinsky
3de09a4039 add IRC info in readme 2016-03-31 16:03:00 -04:00
Ryan Gonzalez
bac2bcfc2e Merge pull request #1034 from tuturto/contributing-docs
Mention that issue isn't necessarily needed for PR
2016-03-31 11:02:15 -05:00
Tuukka Turto
7ff2d34542 Reword guideline for opening issue before PR 2016-03-30 07:23:27 +03:00
Tuukka Turto
ac7ead9568 Mention that issue isn't necessarily needed for PR 2016-03-29 22:10:07 +03:00
Berker Peksag
c3004ee0b1 Merge pull request #1027 from vog/patch-1
Give proper attribution
2016-03-19 10:54:31 +02:00
Volker Diels-Grabsch
f851d3bf98 Give proper attribution
Add a link to XKCD to give proper attribution. Before this change, the attribution to XKCD 224 was only present in the alt text of the image, which is almost invisible in most browsers.
2016-03-19 09:34:56 +01:00
Zack M. Davis
4cee7b1e10 merge branch 'fix-anaphoric-if' 2016-02-28 19:35:07 -08:00
Jonathan Poltak Samosir
fe4f677ed2 Fixed minor rst error + lowercase 'hy' occurance
- (Seemingly) accidental placement of a character meant that the backticks weren't picked up and displayed nicely.
- Everywhere you refer to 'Hy', it has a capital 'h'. Here it did not.

Fixed up minor grammar issue in one sentence

Fixed minor inconsistency with Python and Hy code

- Added variable assignment before code example
2016-02-28 19:04:13 -08:00
Zack M. Davis
042bc973b3 merge branch '2alex2-patch-1' 2016-02-01 21:59:16 -08:00
Zack M. Davis
888c7efe0c tighten pyreadline requirement [#1011, #1022] 2016-02-01 21:51:51 -08:00
Morten Linderud
c585bbd323 Merge pull request #1020 from timmartin/documentation
Documentation of the &key modifier in (defn)
2016-01-26 22:55:16 +01:00
Tim Martin
b3a85801bd Documentation of the &key modifier in (defn) 2016-01-26 20:34:08 +00:00
Berker Peksag
2b49403507 Merge pull request #1017 from jwilk/master
Fix typo
2016-01-22 21:26:50 +02:00
Jakub Wilk
ea98b944cb Fix typo 2016-01-22 20:21:38 +01:00
Paul‮etnomailgaT‭
f9cf39ee73 Merge pull request #1014 from jwilk/spelling
NEWS: Fix typo
2016-01-15 11:28:54 -05:00
Jakub Wilk
72bf2619e8 NEWS: Fix typo 2016-01-15 16:54:39 +01:00
Paul‮etnomailgaT‭
14c412c286 Merge pull request #1013 from timmartin/bug1010
In python 3.3+, generator functions always return a value
2016-01-03 12:37:35 -05:00
Tim Martin
ec668b5584 In python 3.3+, generator functions always return a value 2016-01-03 11:08:41 +00:00
Paul‮etnomailgaT‭
0cd663c0a6 Merge pull request #1012 from jwilk/https-everywhere
README: use HTTPS for the Imgur URL
2016-01-01 10:19:44 -05:00
Jakub Wilk
43365d626e README: use HTTPS for the Imgur URL 2016-01-01 12:20:19 +01:00
2alex2
81b2aebf9f Update setup.py
Fix Python 3.5 compatibility for Windows.
2015-12-31 16:41:34 +02:00
Morten Linderud
01218ed03d Merge pull request #1008 from paultag/paultag/pass-compiler-to-macros
Overhaul macros to allow macros to ref the Compiler
2015-12-23 22:07:25 +01:00
Paul Tagliamonte
8d2143177e Overhaul macros to allow macros to ref the Compiler
This allows macros to take a keyword dict containing useful things by
defining a keyword argument. This allows us to pass in new objects
which might be handy to have in macros.

This changeset refactors module_name to become `compiler`, so that we
can pass the compiler itself into the macros as `opts['compiler']`.

This allows the macro to both get the macro name
(`compiler.module_name`), as well as use the compiler to build AST.

In the future, this will enable us to create "super-macros" which return
AST, not HyAST, in order to manually create insane things from userland.

For userland macros (not `defmacro`) the core.language `macroexpand`
will go ahead and make a new compiler for you.
2015-12-23 15:52:47 -05:00
Ewald Grusk
b2a72e2f10 Fix anaphoric macro ap-if. 2015-12-17 15:39:33 +01:00
Gergely Nagy
f24daa7ef9 defreader: Allow strings as macro names
This makes it possible to use strings as the macro name argument to
defreader, which in turn makes it possible to define reader macros with
names that would otherwise result in parse errors.

Such as `#.`.

This fixes #918.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-12-17 13:24:20 +01:00
Berker Peksag
ba03d2351c Merge pull request #999 from Scorpil/fix_repl_bug_issue_982
Fix cmdline error to string conversion.
2015-12-14 23:57:43 +02:00
Andrew Scorpil
7dcc583d63 Fix issue #982: UTF-8 encode error message before passing it to clint. 2015-12-14 21:55:53 +01:00
Paul‮etnomailgaT‭
3eb6001852 Merge pull request #872 from tuturto/xor
Add exclusive or logical operator
2015-12-12 12:38:14 -05:00
Zack M. Davis
a1cb5e33e7 merge branch 'f/hashbang-doc' 2015-12-09 21:48:38 -08:00
Gergely Nagy
6d00df3932 docs: Add some documentation about #!
Add the #! syntax to the quickstart guide, and to the tutorial as well.
Fixes #992.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-12-09 11:48:44 +01:00
Zack M. Davis
a945f17f08 merge branch 'python-3.5.1' 2015-12-08 20:53:51 -08:00
Tianon Gravi
9d8e4ddb80 Fix Python 3.5.1 support by converting kwargs and stararg to str as late as possible (thus preserving positional information) 2015-12-08 16:54:01 -08:00
Paul‮etnomailgaT‭
e89e374a43 Merge pull request #996 from Eleonore9/master
Typos in the tutorial
2015-12-08 19:44:38 -05:00
Eleonore9
6ee3b03aa4 Fixed typos 2015-12-09 00:17:16 +00:00
Paul‮etnomailgaT‭
eff3b22acb Merge pull request #994 from jwilk/spelling
Fix typos
2015-12-08 08:57:19 -05:00
Jakub Wilk
1d16addd2e Fix typos 2015-12-08 14:43:47 +01:00