Commit Graph

2633 Commits

Author SHA1 Message Date
Simon Gomizelj
783d53ecb7 Introduce with/a* and with/a expressions 2017-12-30 19:02:15 -05:00
Simon Gomizelj
2ffaa8e5be Fix yield-from to prevent it from accepting no arguments
Closes #1472
2017-12-30 19:02:15 -05:00
Simon Gomizelj
e3e01d4405 Introduce fn/a and defn/a
Closes #1054
2017-12-30 19:02:15 -05:00
Kodi Arfer
0b2a472d2f
Merge pull request #1470 from jwilk-forks/spelling
Add missing space between words
2017-12-24 11:25:29 -08:00
Jakub Wilk
8b986e87e3 Add missing space between words 2017-12-24 20:02:23 +01:00
Kodi Arfer
862732ff2a
Merge pull request #1464 from MonsieurV/patch-1
Update interop doc: print function is lower-case
2017-12-09 14:22:05 -08:00
Yoan Tournade
62fb35e09a Update AUTHORS 2017-12-09 23:20:55 +01:00
Yoan Tournade
52292da695
Update interop doc: print function is lower-case
(A typo made use of Print function, which is not defined)
2017-12-09 23:12:19 +01:00
Kodi Arfer
0baedaa5c4
Merge pull request #1427 from rkday/try_body
Allow multiple expressions in a try
2017-12-06 14:37:19 -08:00
Rob Day
76bbf05812 Update documentation to cover new 'try' body rules 2017-12-03 09:47:41 +00:00
Rob Day
eda78eb81c Allow multiple expressions in a try 2017-12-03 09:47:41 +00:00
Kodi Arfer
ec97a3da03
Merge pull request #1459 from jwilk-forks/spelling
Fix typos
2017-11-25 15:49:13 -08:00
Jakub Wilk
e2e1b04ea3 Fix typos 2017-11-26 00:44:03 +01:00
Kodi Arfer
a26480a81b Don't parse large floats as symbols 2017-11-11 15:14:28 -08:00
Kodi Arfer
97987d739c
Merge pull request #1430 from Kodiologist/eval-situation
Refactoring and docs for eval-X-compile
2017-11-02 21:45:33 -07:00
Kodi Arfer
1b3fc81f3f Document eval-X-compile 2017-11-02 08:43:43 -07:00
Kodi Arfer
52a0c8a870 Unify implementations of eval-X-compile 2017-11-02 08:43:43 -07:00
Kodi Arfer
ed0b273551 Fix a bug in docs/conf.py
Without the trailing slash, `py = ('https://docs.python.org/3', None)` mysteriously creates links to the Python 2 documentation rather than Python 3.
2017-11-02 07:32:03 -07:00
Kodi Arfer
b25a69179f Update the documentation of while 2017-11-02 07:32:03 -07:00
Kodi Arfer
fd64575799 Handle statements in the condition of while 2017-11-02 07:31:58 -07:00
Ryan Gonzalez
49d2523e17
Merge pull request #1426 from gilch/letmacro
implement `let`
2017-11-01 09:39:57 -05:00
Ryan Gonzalez
e0e664c030
Merge branch 'master' into letmacro 2017-11-01 09:39:18 -05:00
Tuukka Turto
687be1e78c
Merge pull request #1447 from gilch/astor
update astor to 0.6
2017-11-01 07:02:37 +02:00
gilch
8f2e80d12e add newlines in disassemble tests for astor 0.6 2017-10-31 21:46:44 -06:00
Kodi Arfer
a074bb9a5c Work around an astor regression for NaN 2017-10-31 17:50:44 -07:00
gilch
6bb997dbea update astor to 0.6 2017-10-31 14:13:41 -06:00
Tuukka Turto
5975ad344d
Merge pull request #1415 from gilch/doc-macro
add documentation macros
2017-10-31 07:01:42 +02:00
gilch
91bdaea535 add documentation macros 2017-10-30 21:25:25 -06:00
gilch
a4dd344ebd protect eval-and-compile/eval-when-compile in let 2017-10-30 20:24:09 -06:00
gilch
82b4518fa6 error check defclass name 2017-10-30 20:24:09 -06:00
gilch
e90f082baf back let with dict for better defclass behavior 2017-10-30 20:23:57 -06:00
gilch
3707681056 make deftag/defmacro macros, not special forms 2017-10-29 17:52:40 -06:00
Tuukka Turto
fac87c99d0
Merge pull request #1444 from gilch/xi-tag
change xi macro to #% tag macro
2017-10-29 21:34:56 +02:00
Tuukka Turto
268463c68d
Merge pull request #1432 from Kodiologist/else-detection
Don't treat [else…] or ("else"…) as else clauses
2017-10-29 21:21:32 +02:00
Tuukka Turto
fabc55a62a
Merge pull request #1431 from Kodiologist/repl-crash
Fix a crash in HyTypeError.__str__
2017-10-29 21:20:00 +02:00
gilch
497e929913 generalize #% to arbitrary expressions 2017-10-26 14:23:25 -06:00
gilch
b5f1136ba5 %* %** parameters for #% tag macro 2017-10-26 13:03:01 -06:00
gilch
f81fb771eb change xi macro to #% tag macro 2017-10-26 12:55:48 -06:00
gilch
2319adcc7f fix whitespace in anaphoric 2017-10-26 12:53:08 -06:00
Kodi Arfer
e0e850645d Merge pull request #1438 from ekaschalk/docstrings
Standardize hy.core docstrings
2017-10-17 13:22:58 -07:00
Kodi Arfer
a5146e6494 Update AUTHORS 2017-10-17 13:21:26 -07:00
ekaschalk
38375c6bf7 Standardize hy.core docstrings 2017-10-17 13:20:26 -07:00
gilch
c4b3d7bcda fix gensym format to start with _ for import * 2017-09-23 23:41:37 -06:00
gilch
1fd0dc8fbe add let to NEWS 2017-09-23 15:09:44 -06:00
gilch
d2e8537d3f document let 2017-09-23 15:00:00 -06:00
gilch
a54f6aa38b add hidden &name parameter to macros
The module name allows macros to preexpand their body in the proper
context.
2017-09-23 14:59:43 -06:00
gilch
5bbf4d9894 fix premature binding in let 2017-09-22 20:07:48 -06:00
Kodi Arfer
1e456c6ced Don't treat [else…] or ("else"…) as else clauses 2017-09-20 16:34:56 -07:00
Kodi Arfer
f8fbcf3f06 Spacing fix in test 2017-09-20 16:31:55 -07:00
Kodi Arfer
39785b4657 Fix a crash in HyTypeError.__str__ 2017-09-20 10:40:52 -07:00