Commit Graph

2830 Commits

Author SHA1 Message Date
Kodi Arfer 88f30c4b35
Merge pull request #1886 from Kodiologist/empty-expr
Fixes for empty expressions
2020-04-03 14:29:23 -04:00
Kodi Arfer 48d481b5d3 Fix a check for empty input in `macroexpand`
The equality check hasn't done the right thing since HyExpression became tuple-backed (#1804).
2020-04-03 14:24:48 -04:00
Kodi Arfer 2ed1e8b8e7 Fix detection of compiler bugs in `cant_compile` 2020-04-03 14:24:25 -04:00
Kodi Arfer 5c9f04021e
Merge pull request #1868 from refi64/f-string-quote
Avoid evaluating quoted f-strings
2020-04-02 08:40:20 -04:00
Kodi Arfer 15be7693fd Update NEWS 2020-04-02 08:34:31 -04:00
Ryan Gonzalez a964acd51d Avoid evaluating quoted f-strings
Fixes #1844.
2020-04-02 08:34:15 -04:00
Ryan Gonzalez 3c6077695b Fix some incorrect indentation 2020-04-02 08:34:15 -04:00
Kodi Arfer 30f91f0c66
Merge pull request #1884 from eganjs/fix-anaphoric-macros
Reduce scope of symbol replacement for anaphoric macros
2020-03-31 11:25:03 -04:00
Joseph Egan 85adbabae2 Add @eganjs to Authors 2020-03-31 11:18:51 -04:00
Joseph Egan f1de9050ea Reduce scope of symbol replacement for anaphoric macros 2020-03-31 11:18:48 -04:00
Kodi Arfer 02e6a0c6dc
Merge pull request #1882 from redraiment/fix-issue-1875
Fixes #1875: parse-args requires values to be representable as Hy models
2020-03-31 11:02:59 -04:00
redraiment 0751308360 Update AUTHORS 2020-03-31 10:59:04 -04:00
redraiment 2b40dea54d Fixes #1875: parse-args requires values to be representable as Hy models
* Update argument spec parse logic of parse-args function.
* Update test case of parse-args function.
* Update document of parse-args function.
* Describe the change in NEWS file.
2020-03-31 10:44:26 -04:00
Kodi Arfer 1112472f00
Merge pull request #1880 from zhaqenl/master
Fix misplaced `#@` tag macro
2020-03-10 22:27:48 -04:00
Raymund Martinez 336b8df5cd Add to AUTHORS 2020-03-11 10:12:06 +08:00
Raymund Martinez dd212cdd1b Fix misplaced `#@` tag macro 2020-03-11 10:08:49 +08:00
Kodi Arfer 6cc4c233b4
Merge pull request #1863 from Kodiologist/release
Hy 0.18.0
2020-02-02 08:21:20 -05:00
Kodi Arfer b3aabd5564 Update NEWS for release 2020-02-02 08:12:22 -05:00
Kodi Arfer e6d6a02f0c
Merge pull request #1865 from hylang/revamp-install
Revamp the setup script's install command
2020-01-24 09:11:39 -05:00
Ryan Gonzalez 03e2ac3531 Revamp the setup script's install command
Previously, the Hy files would be bytecode compiled before the
compiler's dependencies were installed. In additon, the revamped
version properly propogates the optimization level and generally is a
bit cleaner.

Fixes #1864.
2020-01-18 16:06:09 -06:00
Kodi Arfer 653ea064e5
Merge pull request #1860 from Kodiologist/update-copyright-years
Update copyright years
2020-01-17 14:22:04 -05:00
Kodi Arfer 80eb27906a Update copyright years 2020-01-09 14:05:12 -05:00
Kodi Arfer 9cace11d83
Merge pull request #1857 from Kodiologist/chain-cmp
Implement chained comparisons
2020-01-09 14:04:32 -05:00
Kodi Arfer 0e55d7d955 Allow more than two arguments to `in` or `not-in` 2020-01-09 14:04:12 -05:00
Kodi Arfer 170febb2e8 Implement chained comparisons 2020-01-09 14:04:12 -05:00
Kodi Arfer 2074e4bd2f Change the indentation of a test 2020-01-09 14:04:12 -05:00
Ryan Gonzalez 63881e7851
Merge pull request #1862 from Kodiologist/manifest-fep
Include fastentrypoints in the MANIFEST
2020-01-07 00:32:47 -06:00
Kodi Arfer 42100b1658
Merge pull request #1855 from Kodiologist/anaphix
Overhaul hy.extra.anaphoric
2020-01-05 07:56:11 -05:00
Kodi Arfer f1a72146c1 Include fastentrypoints in the MANIFEST 2020-01-04 14:50:33 -05:00
Kodi Arfer 08abdd5af9 Delete `anaphoric` docstrings
so they don't get desynchronized from the manual.
2019-12-21 14:36:25 -05:00
Kodi Arfer c7966920a6 Rewrite the documentation for most of `anaphoric`
Arguably, it's still not great. It's perhaps more terse than would be helpful. My goal for now is just to make sure that it's correct, and that it doesn't mislead with e.g. suggestions that these macros support only true lists, instead of arbitrary iterable objects.
2019-12-21 14:36:25 -05:00
Kodi Arfer cfbc45a586 Test that `ap-each` returns `None` 2019-12-21 14:36:25 -05:00
Kodi Arfer bbb7426269 Rationalize `anaphoric` parameter names 2019-12-21 14:36:25 -05:00
Kodi Arfer e57bbb92db Use a gensym for `it` in anaphoric macros 2019-12-21 14:36:25 -05:00
Kodi Arfer bafd919605 Clean up the implementations of anaphoric macros 2019-12-21 14:36:24 -05:00
Kodi Arfer b12c930444 Allow non-constant `n` in `ap-dotimes` 2019-12-21 11:10:30 -05:00
Kodi Arfer c2a3f61ab2
Merge pull request #1850 from Kodiologist/pyssed-off
Documentation tweaks for `py` and `pys`
2019-12-20 10:54:52 -05:00
Kodi Arfer 12ebadc4ee Documentation tweaks for `py` and `pys` 2019-12-20 10:54:27 -05:00
Kodi Arfer b5d18d9654
Merge pull request #1849 from Kodiologist/reduction
Fix some bugs in `ap-reduce`
2019-12-19 11:43:41 -05:00
Kodi Arfer f6b9ba9b8f Fix some bugs in `ap-reduce` 2019-12-15 14:55:31 -05:00
Kodi Arfer 592c681261 Clean up native-tests.extra.anaphoric 2019-12-15 14:55:31 -05:00
Kodi Arfer a201e9f6a8
Merge pull request #1846 from Kodiologist/tiny-kong
Remove extraneous material from the style guide
2019-12-11 09:41:58 -05:00
Kodi Arfer 2c5a19b12e Remove non-style information from the style guide 2019-12-05 15:27:40 -05:00
gilch 39c150d829
Merge pull request #1636 from gilch/style-update
Style guide update.
2019-11-19 19:54:11 -07:00
gilch 1663e5ccf5
Merge branch 'master' into style-update 2019-11-19 19:50:08 -07:00
Ryan Gonzalez 8c67cd0e2f
Merge pull request #1842 from Kodiologist/rm-multi
Remove hy.contrib.multi
2019-11-19 19:38:54 -06:00
Kodi Arfer 8872f0b44c Remove hy.contrib.multi 2019-11-18 20:06:17 -05:00
Kodi Arfer 919a77e59e
Merge pull request #1839 from gliptak/patch-1
Use the released version of Python 3.8 on Travis
2019-11-17 10:50:36 -05:00
Gábor Lipták 832253a0c0 Add Gábor Lipták to AUTHORS
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-11-17 10:35:49 -05:00
Gábor Lipták a50b381e6f
Use the released version of Python 3.8 on Travis
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-11-17 10:23:21 -05:00