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
Ryan Gonzalez
50b34dd727
Merge pull request #1834 from Kodiologist/let-ns
...
Document gotcha with unintentional recursion in `let`
2019-11-15 15:40:16 -06:00
Kodi Arfer
be1eb4bf2e
Merge pull request #1830 from alphapapa/parse-args
...
Add: parse-args function
2019-11-14 10:12:33 -05:00
Kodi Arfer
cb256fd618
Document gotcha with unintended recursion in let
2019-11-12 16:27:07 -05:00
Adam Porter
825dfe3eeb
AUTHORS: Add Adam Porter
2019-10-30 10:16:46 -05:00
Adam Porter
0f3d256ebf
Add: parse-args function
...
Closes #1719 .
2019-10-30 10:16:45 -05:00
Kodi Arfer
f8d3826689
Merge pull request #1824 from refi64/drop-clint
...
Drop clint for colors in favor of colorama
2019-10-22 08:59:46 -04:00
Kodi Arfer
03404e45bd
Merge pull request #1826 from peeley/fix-repl-help
...
Fix help message in REPL
2019-10-14 14:12:02 -04:00
Noah Snelson
0965966cde
Added name to AUTHORS file.
2019-10-14 14:10:48 -04:00
Noah Snelson
7af169f089
Add HyHelper object to override builtins.help, fixes REPL prompt
2019-10-14 14:10:42 -04:00
Ryan Gonzalez
8d7775c0a8
Merge pull request #1825 from refi64/test-import
...
Fix a unit test bug on slim Python Docker images
2019-10-13 14:10:39 -05:00
Ryan Gonzalez
beb21d384c
Fix a unit test bug on slim Python Docker images
...
If HyASTCompiler is given a string, it imports it and uses it as the
execution environment. However, the unit tests gave HyASTCompiler the
string 'test', assuming it would create a new test module, when in
reality it would import CPython's test module that is designed for
internal use. Slim Docker images don't include this module, therefore
the tests would fail to run.
2019-10-13 14:08:07 -05:00
Kodi Arfer
4845565caa
Merge pull request #1810 from refi64/ann
...
Implement PEP 3107 & 526 annotations
2019-10-08 12:36:26 -04:00
Ryan Gonzalez
2f86801a14
Add documentation for annotations and of
2019-10-08 09:52:22 -05:00
Ryan Gonzalez
0579561b83
Drop clint for colors in favor of colorama
...
Closes #1820 .
2019-10-08 09:50:15 -05:00
Ryan Gonzalez
e1ab140a6e
Implement the of macro
2019-10-08 09:40:15 -05:00
Ryan Gonzalez
1865feb7d6
Implement PEP 3107 & 526 annotations ( closes #1794 )
2019-10-08 09:40:15 -05:00
Ryan Gonzalez
fd8514718b
Refactor function argument compilation
2019-10-08 09:40:15 -05:00
Ryan Gonzalez
6eedb19a07
Clean up assignment handling code
2019-10-08 09:40:15 -05:00
Ryan Gonzalez
06213cd46c
Remove some trailing whitespace from docs
2019-10-08 09:40:15 -05:00
Kodi Arfer
32a734cedc
Merge pull request #1821 from nmeum/prefer-version-file
...
get_version.py: Prefer VERSIONFILE over git-describe(1)
2019-09-23 15:56:09 -04:00
Sören Tempel
f5977555f4
Add Sören Tempel to AUTHORS
2019-09-23 21:54:46 +02:00
Sören Tempel
31041f1713
get_version.py: allow specifying version in environment variable
...
While packaging hy for Alpine Linux I noticed that the VERSIONFILE is
ignored if hy is build in a git repository. On Alpine the packages are
build in the package repository resulting in a wrong hy version. This
change allows specifying the version in an environment variable which is
preferred over git-describe(1) and the VERSIONFILE.
2019-09-23 20:35:48 +02:00
Kodi Arfer
84d1a116f6
Merge pull request #1817 from Kodiologist/inline-python
...
Allow inline Python
2019-09-17 12:04:26 -04:00