Commit Graph

2545 Commits

Author SHA1 Message Date
gilch 8909ce63cc
Point out appropriate help forums 2018-07-31 20:51:04 -06:00
Kodi Arfer 0a384e7744
Merge pull request #1661 from Kodiologist/expr-compile
Fix handling of unpacking in method calls and attribute lookups
2018-07-30 10:24:57 -07:00
Kodi Arfer 081a710b0f Fix handling of unpacking in method calls and attribute lookups 2018-07-24 09:45:00 -07:00
Kodi Arfer 0f85331c81 Rename variables in @builds_model(HyExpression) 2018-07-24 09:41:57 -07:00
Kodi Arfer 271f2846dc Minor cleanup in test_ast 2018-07-24 09:37:19 -07:00
Kodi Arfer 45e99d027d Fix an intersphinx link 2018-07-24 09:31:36 -07:00
Kodi Arfer 5bfd4592f6
Merge pull request #1656 from Kodiologist/keyword-call
Make HyKeyword callable
2018-07-24 09:28:16 -07:00
Kodi Arfer 1d2c73165d Make HyKeyword callable
Co-authored-by: Simon Gomizelj <simon@vodik.xyz>
2018-07-24 09:19:37 -07:00
Kodi Arfer d9fa039252
Merge pull request #1657 from Kodiologist/no-empty-exprs
Make empty expressions illegal at the top level
2018-07-24 09:15:27 -07:00
Kodi Arfer 03aafad657 Make empty expressions illegal at the top level 2018-07-24 08:59:52 -07:00
Kodi Arfer addf9c4a01
Merge pull request #1652 from Kodiologist/release
Hy 0.15.0
2018-07-21 11:33:22 -07:00
Kodi Arfer 4020f3dd56 Clean up NEWS 2018-07-21 11:20:13 -07:00
Kodi Arfer 9af738e56d Add hy2py tests for empty data structures 2018-07-21 11:20:13 -07:00
Kodi Arfer abbf29165a Depend on astor 0.7 2018-07-21 11:20:10 -07:00
Ryan Gonzalez bd0486ebf2
Merge pull request #1659 from Kodiologist/doc-updates
Small documentation additions
2018-07-11 21:23:05 -05:00
Kodi Arfer e05af9d7e0 Document function docstrings 2018-07-11 11:59:46 -07:00
Kodi Arfer 9859b0085c Document the required order of &-parameters 2018-07-11 11:36:32 -07:00
Kodi Arfer 9cc90362d0 Docs: string literal prefixes must be in lowercase 2018-07-11 11:24:19 -07:00
gilch 0de8557fb5
Merge pull request #1647 from gilch/let-rebind
Fix let rebind bug.
2018-07-08 21:52:32 -06:00
Kodi Arfer 71dfec9d2f Add reminder to check master before reporting bugs (#1654) 2018-07-08 15:29:08 -05:00
Kodi Arfer 9253029344
Merge pull request #1643 from Kodiologist/compiler-cleanup
Miscellaneous compiler cleanup
2018-07-05 13:32:02 -07:00
Kodi Arfer af8907b151 Minor cleanup in compile_unary_operator 2018-06-30 11:04:57 -07:00
Kodi Arfer 88f33453dc Minor cleanup for `raise` and `try` 2018-06-30 11:04:11 -07:00
Kodi Arfer bd675a5db6 Unmangle in compile_expression before build_method
This ensures that e.g. the symbols "~" and "hyx_XtildeX" in the root position will both appear as "~" to the build method.
2018-06-30 11:04:11 -07:00
Kodi Arfer fca2eb93b0 Remove dead code from HyASTCompiler.compile 2018-06-30 11:04:11 -07:00
Kodi Arfer 00150c088c Remove an unused helper method in the compiler 2018-06-30 11:04:11 -07:00
Kodi Arfer e2b98effda Replace an unused variable with `_` 2018-06-30 11:04:11 -07:00
Kodi Arfer 217fc2a487 Clean up _render_quoted_form 2018-06-30 11:04:11 -07:00
Kodi Arfer 8a70d5c90f Fold _branch into the compiler 2018-06-30 11:04:11 -07:00
Kodi Arfer 45ec57ab56 Simplify Result.force_expr 2018-06-30 11:04:11 -07:00
Kodi Arfer 21f7ef0713 Fold load_stdlib into the compiler 2018-06-30 11:04:11 -07:00
Kodi Arfer d501b073d8 Fold compile_time_ns into the compiler 2018-06-30 11:04:11 -07:00
Kodi Arfer 3d3d1fe6ae Remove unused compiler subroutines 2018-06-30 11:04:11 -07:00
Kodi Arfer 9c6714c176 Remove unused imports 2018-06-30 11:04:11 -07:00
gilch 8c79015b40 Fix let rebind bug. 2018-06-27 23:41:49 -06:00
gilch 4b0e318997 Remove outdated comment in walk. 2018-06-27 23:39:44 -06:00
gilch 9a8886a452 Proper special indent in let tests. 2018-06-27 23:38:06 -06:00
Kodi Arfer 4de18d3dff
Merge pull request #1638 from Kodiologist/no-import-dot
Make importing a dotted name a syntax error, per Python
2018-06-27 10:32:54 -07:00
Kodi Arfer 7abd8ffc2a Make importing a dotted name a syntax error, per Python 2018-06-27 10:24:22 -07:00
Kodi Arfer 86deff6531
Merge pull request #1637 from oskarkv/patch-1
Look for o!-syms in (flatten args) of defmacro!
2018-06-25 12:00:41 -07:00
Oskar Kvist 97c15c1bb9 Add Oskar Kvist to AUTHORS 2018-06-25 11:45:23 -07:00
Oskar Kvist edbe8e3b7f Make defmacro! work with optional args 2018-06-25 11:45:23 -07:00
Kodi Arfer f22195dfbc
Merge pull request #1626 from Kodiologist/newcomp3
Fancier `for` and comprehensions
2018-06-16 14:16:41 -07:00
Kodi Arfer da754c0e5d Update NEWS and docs for the new comprehensions 2018-06-13 17:31:08 -07:00
Kodi Arfer 76b80bad81 Remove support for the old comprehension forms 2018-06-13 17:31:08 -07:00
Kodi Arfer 14979edcab Remove tests of the old comprehension forms 2018-06-13 17:31:08 -07:00
Kodi Arfer cf0dafef9b Update uses of the old comprehension forms 2018-06-13 17:31:08 -07:00
Kodi Arfer df4e49ec94 Test comprehension scoping 2018-06-13 17:31:08 -07:00
Kodi Arfer 4754b152a9 Allow comprehensions with no looping parts 2018-06-13 17:31:08 -07:00
Kodi Arfer e1972c535f Remove `for/a`, `for*`, and `for/a*` 2018-06-13 17:31:08 -07:00