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
Kodi Arfer
8351ccf9d9
Allow inline Python
2019-09-17 12:04:03 -04:00
Kodi Arfer
80771ac99c
Remove documentation of print
in api.rst
...
There is no longer any such special form. We just use Python 3's built-in function.
2019-09-17 12:04:03 -04:00
Ryan Gonzalez
45bb0ff954
Merge pull request #1819 from Kodiologist/stack-overflow
...
Advertise our Stack Overflow tag
2019-09-11 16:44:27 -05:00
Kodi Arfer
f227f689d9
Advertise our Stack Overflow tag
2019-09-11 10:24:03 -04:00
Kodi Arfer
645d2e0b8e
Merge pull request #1811 from Kodiologist/intro-docs-improvements
...
Overhaul introductory documentation
2019-08-19 14:03:21 -04:00
Kodi Arfer
6c93fc6ff1
Overhaul introductory documentation
...
- Removed links to non-updated code and badges.
- Compressed `quickstart.rst` into a few sentences at the very start of the docs.
- Added a "Why Hy?" chapter discussing Hy's features and comparing Hy to Python and other Lisps.
- Rewrote the tutorial to be more accessible to non-Python programmers and to be greater in breadth but lesser in depth.
- Cut down on the self-congratulatory manic tone and exclamation points, while keeping the jokes I liked best.
2019-08-19 14:00:53 -04:00
Kodi Arfer
1e77f38d10
Expand the documentation of setv
2019-08-19 13:53:48 -04:00
Kodi Arfer
627455a336
Add some documentation anchors
2019-08-19 13:53:48 -04:00
Ryan Gonzalez
1b8b1f110a
Merge pull request #1813 from Kodiologist/homeless
...
Avoid a crash when we can't access a history file
2019-08-19 12:40:08 -05:00
Kodi Arfer
ee35d61e58
Merge pull request #1804 from Kodiologist/immutable-models
...
Immutable Hy models
2019-08-18 09:49:45 -04:00
Kodi Arfer
e5461f171c
Update NEWS and documentation
2019-08-18 09:45:40 -04:00
Kodi Arfer
7aaece3725
Use #* assignments instead of head-tail
2019-08-18 09:44:29 -04:00
Kodi Arfer
e6aac2308a
Update tests for tuple HySequences
2019-08-18 09:43:02 -04:00
Kodi Arfer
cc8948d9b9
Return plain lists from HyDict.keys, .values
2019-08-18 09:43:02 -04:00
Kodi Arfer
8576d00ce8
Implement HySequence with tuples instead of lists
2019-08-18 09:43:02 -04:00
Kodi Arfer
52c0e4e221
Add explicit checks for HyList
2019-08-18 09:43:02 -04:00
Kodi Arfer
dce0e10f3f
Use nonlocal
instead of a singleton list
2019-08-18 09:43:02 -04:00
Kodi Arfer
4a40ff3d7e
Check for HySequence in hy.contrib.walk
2019-08-18 09:43:02 -04:00
Kodi Arfer
95ad5a01c8
Avoid mutating HyLists in hy.contrib
2019-08-18 09:43:02 -04:00
Kodi Arfer
9ddb3b1031
Rewrite _with
2019-08-18 09:43:02 -04:00
Kodi Arfer
6cced31738
Rewrite cond
2019-08-18 09:43:02 -04:00