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 |
|
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 |
|
gilch
|
081a6e2575
|
factor out smacrolet from let
|
2017-09-18 23:01:13 -06:00 |
|
gilch
|
bcc93fb1fe
|
refactor let symbol expansion to a class
|
2017-09-18 21:01:42 -06:00 |
|
gilch
|
20b4342d40
|
support (global) in let
|
2017-09-18 14:54:08 -06:00 |
|
gilch
|
ba898aa8d8
|
support (nonlocal) in let
|
2017-09-18 13:51:32 -06:00 |
|
gilch
|
34038ff433
|
implement let
|
2017-09-18 12:21:42 -06:00 |
|
Ryan Gonzalez
|
db210929d0
|
Merge pull request #1360 from gilch/model-repr
proper reprs for Hy models
|
2017-09-18 08:45:28 -05:00 |
|
gilch
|
d38956fb9e
|
remove trailing commas in HyDict reprs
|
2017-09-18 01:03:00 -06:00 |
|
gilch
|
82cb3146ec
|
Merge pull request #1421 from rkday/docstrings
Let argument destructuring work with docstrings
|
2017-09-17 21:30:08 -06:00 |
|
Rob Day
|
907e72681f
|
Let argument destructuring work with docstrings
|
2017-09-17 21:06:45 +01:00 |
|
gilch
|
cfdd321f9a
|
Merge pull request #1422 from rkday/underscore_variables
Treat _42 etc. as a variable name, not an integer
|
2017-09-16 17:22:27 -06:00 |
|
Rob Day
|
5a6488e353
|
Treat _42 etc. as a variable name, not an integer
|
2017-09-16 16:12:29 -07:00 |
|
gilch
|
e43d6f5e2f
|
Merge pull request #1419 from rkday/else_multiple_statements
Allow multiple statements in the else branch of for
|
2017-09-16 14:10:28 -06:00 |
|
Rob Day
|
be35b09e5d
|
Allow multiple statements in the else branch of a for loop
|
2017-09-16 20:41:22 +01:00 |
|
Ryan Gonzalez
|
3f69ed8e8e
|
Merge pull request #1399 from Kodiologist/compiler-refactor
|
2017-09-15 14:44:32 -05:00 |
|
Ryan Gonzalez
|
44e5ded522
|
Merge pull request #1379 from Kodiologist/lua-str-literal
Add #[DELIM[ … ]DELIM] syntax for string literals
|
2017-09-15 14:36:08 -05:00 |
|
gilch
|
9ba22a3be2
|
Merge pull request #1418 from rkday/while_else
Allow else after a while loop
|
2017-09-14 17:25:12 -06:00 |
|
Rob Day
|
2c8ed73850
|
Update AUTHORS
|
2017-09-14 20:55:29 +01:00 |
|
Rob Day
|
567fa14f1d
|
Allow else after a while loop
|
2017-09-14 20:55:29 +01:00 |
|
Kodi Arfer
|
957a721cd4
|
Remove _hy_anon_fn_N in favor of _hy_anon_var_N
|
2017-09-13 13:30:59 -07:00 |
|
Kodi Arfer
|
cf7ff802c9
|
Make hy.compiler.builds more flexible
I removed the "Hypster" error message and the test for it because it can only catch compiler bugs that should themselves be caught by Hy's tests.
|
2017-09-13 13:30:59 -07:00 |
|
Kodi Arfer
|
e30abcd20f
|
Combine some literal compilation methods
|
2017-09-13 13:30:59 -07:00 |
|
Kodi Arfer
|
5f36a53577
|
General compiler refactoring pass
Most of the changes are to use the new `asty` shorthand, but I also combined methods and statements when I saw obvious duplication.
|
2017-09-13 13:30:59 -07:00 |
|
Kodi Arfer
|
ddded5e8bd
|
PEP8 fixes in compiler
|
2017-09-13 13:30:59 -07:00 |
|
Kodi Arfer
|
277469dfe1
|
Add xfail test of #1390 (statements in assert )
|
2017-09-13 13:30:54 -07:00 |
|
Kodi Arfer
|
0c229ebda5
|
NEWS and docs for hashstrings
|
2017-09-08 11:27:34 -07:00 |
|
Kodi Arfer
|
deb801edab
|
Preserve .brackets in quoted HyStrings
|
2017-09-08 11:27:34 -07:00 |
|
Kodi Arfer
|
eb23ddc1e2
|
Add #[DELIM[ … ]DELIM] syntax for string literals
|
2017-09-08 11:27:34 -07:00 |
|
Kodi Arfer
|
0a633d8024
|
Correct a ReST syntax typo
|
2017-09-08 11:27:34 -07:00 |
|
gilch
|
af8d209496
|
update docs for new hy model reprs
|
2017-09-08 10:59:57 -07:00 |
|
gilch
|
b23f6e5b59
|
test hy model reprs
|
2017-09-08 10:54:24 -07:00 |
|
gilch
|
2d8a318e0c
|
color compound hy model reprs
|
2017-09-07 11:50:22 -07:00 |
|
gilch
|
021204af13
|
make HyCons __repr__ iterative
|
2017-09-07 11:50:22 -07:00 |
|
gilch
|
860431b2a5
|
make HyCons repr indented and multi-line
|
2017-09-07 11:50:22 -07:00 |
|
gilch
|
7674bf3267
|
proper reprs for Hy models
|
2017-09-07 11:50:16 -07:00 |
|
Ryan Gonzalez
|
51fb807cc9
|
Merge pull request #1408 from gilch/winpytest
fix testing for windows
|
2017-09-05 16:10:45 -05:00 |
|
gilch
|
20516cce79
|
make native tests run on Windows too
|
2017-09-05 13:35:28 -06:00 |
|
gilch
|
50c21ca38c
|
disable Popen shell option in test_bin.py
Fix failing tests from #1289 caused by bad quoting for Windows shell
Improve test_bin_hy_builtins and warn that it fails from IPython.
|
2017-09-05 13:35:22 -06:00 |
|
Ryan Gonzalez
|
c69f8ebb79
|
Merge pull request #1404 from Kodiologist/unicode_literals
Simplify string parsing with `unicode_literals`
|
2017-08-29 18:22:02 -05:00 |
|
Ryan Gonzalez
|
4b2cc5f297
|
Merge pull request #1403 from Kodiologist/exceptional-output-fn
Catch exceptions raised by HyREPL.output_fn
|
2017-08-29 18:20:00 -05:00 |
|
Kodi Arfer
|
e3e7fa8ce6
|
Catch exceptions raised by HyREPL.output_fn
|
2017-08-29 14:54:26 -07:00 |
|
Kodi Arfer
|
98fb33d0a3
|
Simplify string parsing with unicode_literals
I switched from `ast.literal_eval` back to `eval` because the former doesn't respect `unicode_literals`.
|
2017-08-28 10:28:19 -07:00 |
|
Kodi Arfer
|
3db13ec71f
|
Merge pull request #1386 from freezas/master
Tutorial in Python3
|
2017-08-27 14:25:59 -07:00 |
|
Zaheer Soebhan
|
2227a0332f
|
Update AUTHORS
|
2017-08-27 14:18:01 -07:00 |
|