Commit Graph

2267 Commits

Author SHA1 Message Date
Kodi Arfer
b7657e8fa3 Require HySymbols instead of HyStrings more often 2017-07-12 10:57:35 -07:00
Kodi Arfer
5610d7dedf Merge pull request #1294 from Kodiologist/nan-and-inf
Require capitalizing NaN and Inf like so
2017-07-10 08:54:38 -07:00
Kodi Arfer
5a1e6a7c6a hy-repr: Support NaN and Inf 2017-07-10 08:50:49 -07:00
Kodi Arfer
bb91b57dca Require capitalizing NaN and Inf like so 2017-07-10 08:50:49 -07:00
Kodi Arfer
a746ccb42c Refactor test_lex_expression_complex 2017-07-10 08:50:45 -07:00
Tuukka Turto
7c53a07b93 Merge pull request #1314 from Kodiologist/compiler-autobox
Auto-promote values to HyObjects in the compiler
2017-07-10 09:04:08 +03:00
Kodi Arfer
850ba03d1f Slightly simplify HyREPL 2017-07-03 17:01:12 -07:00
Kodi Arfer
6db3da779e Don't wrap values while expanding macros
This is the compiler's job now.
2017-07-03 17:01:12 -07:00
Kodi Arfer
55986b2033 Auto-promote values to HyObjects in the compiler 2017-07-03 17:01:12 -07:00
Kodi Arfer
4be37b358b Make lists no longer magical for the compiler 2017-07-03 17:01:12 -07:00
Kodi Arfer
f55fcf43bd Add a docstring for hy-eval
It's just a copy of the documentation for hy.core.langauge.eval.
2017-07-03 17:01:12 -07:00
Kodi Arfer
ca95194240 Change eval from a special form to a function 2017-06-27 08:14:29 -06:00
gilch
2e465dbf70 Merge pull request #1309 from Kodiologist/pythondontwritebytecode
Support PYTHONDONTWRITEBYTECODE
2017-06-26 19:46:36 -06:00
Kodi Arfer
f2278cf2f0 Support PYTHONDONTWRITEBYTECODE 2017-06-26 19:00:08 -06:00
Kodi Arfer
399e7628b4 Parametrize test_bin_hy_byte_compile 2017-06-26 18:58:51 -06:00
gilch
672c8a1637 Merge pull request #1307 from hylang/windows-tests
Use universal newlines in test_bin.py
2017-06-26 14:27:16 -06:00
Kodi Arfer
a62faf7b8a Merge pull request #1296 from Kodiologist/literal-attr
Don't parse 5.attr or :foo.attr as symbols
2017-06-23 08:42:20 -07:00
Kodi Arfer
26d1b3f72e Don't parse 5.attr or :foo.attr as symbols 2017-06-23 08:30:37 -07:00
Kodi Arfer
c8736ebd0c Use pytest.raises in test_lex 2017-06-23 08:29:55 -07:00
Ryan Gonzalez
e92ef484a0 Merge pull request #1310 from gilch/tagged-literals
Tag macros
2017-06-23 10:13:43 -05:00
gilch
b7a0c2abf0 add tag macro tests 2017-06-22 22:49:00 -06:00
gilch
901cfbda13 add tag macros to NEWS 2017-06-22 22:49:00 -06:00
gilch
6cd3201421 rename sharp macros to tag macros 2017-06-22 22:48:46 -06:00
gilch
20c26a52e4 make sharp macros take arbitrary identifiers
Previously, only a single character was allowed.
2017-06-22 22:46:24 -06:00
Kodi Arfer
8aeaace7cd Merge pull request #1311 from zackmdavis/retHyrement
retHyrement
2017-06-21 14:16:46 -07:00
Zack M. Davis
acf6e0e0fe remove @zackmdavis from core 2017-06-21 14:04:00 -07:00
Kodi Arfer
49fd49e7ee Fix dirty-flag removal in docs/conf.py 2017-06-20 14:26:39 -07:00
gilch
aa08149712 Use universal newlines in test_bin.py
Change run_cmd() implementation in test_bin.py to use universal newlines (text mode) for Windows compatibility.
2017-06-18 16:05:44 -06:00
Tuukka Turto
3a7618806e Merge pull request #1305 from Kodiologist/release-0.13.0
Minor edits for release 0.13.0
2017-06-16 06:37:01 +03:00
Kodi Arfer
415fdfcc11 Punctuate NEWS more consistently 2017-06-15 11:52:00 -07:00
Kodi Arfer
7361b37a75 Add get_version as a data file to setup.py 2017-06-15 11:30:05 -07:00
Kodi Arfer
032830bada Mark support for Python 3.6 in setup.py 2017-06-15 11:11:54 -07:00
Kodi Arfer
d86381ff98 Merge pull request #1300 from Kodiologist/contributing
Overhaul CONTRIBUTING.rst
2017-06-14 14:08:34 -07:00
Kodi Arfer
9441bfb7cf More rewording of CONTRIBUTING.rst 2017-06-14 14:07:18 -07:00
Ryan Gonzalez
febac43239 Misc language fixes/rewording for CONTRIBUTING.rst 2017-06-14 15:28:47 -05:00
Tristram Oaten
fc3dd8ab66 Fix Tuukka print example (#1304)
It was missing quotes around "Tuukka". Output from hy to confirm everything's good:

```clojure
hy unknown using CPython(default) 3.6.1 on Linux
=> (print "Hello there," "Tuukka")
Hello there, Tuukka
```
2017-06-12 08:36:47 -05:00
Kodi Arfer
0baffaa360 Overhaul CONTRIBUTING.rst 2017-06-10 09:08:15 -07:00
Kodi Arfer
111fe7a2b8 Add a copyright notice to the LICENSE 2017-06-10 09:08:15 -07:00
Kodi Arfer
abb75453cc Merge pull request #1303 from neil-lindquist/single-arg-cond
cond accept single-argument branches
2017-06-10 08:32:46 -07:00
neil-lindquist
c87a0fe02f Add Neil Lindquist to AUTHORS 2017-06-10 08:31:01 -07:00
neil-lindquist
d3df17d9d8 Modify cond to support single argument branches 2017-06-10 08:30:53 -07:00
Kodi Arfer
5bf9ecfc5a Forbid (try) and (try BODY) 2017-05-25 20:48:09 -05:00
Kodi Arfer
dffa2811e6 Return from the else clause of a try form
I overhauled the documentation of `try` while I was editing it.
2017-05-25 20:48:09 -05:00
Kodi Arfer
81d89c9d12 Enforce the standard order of try elements 2017-05-25 20:48:09 -05:00
Kodi Arfer
0d2749d5cd Minor cleanup in hy.compiler: try, except 2017-05-25 20:48:09 -05:00
Kodi Arfer
50aa930232 Merge pull request #1293 from hylang/docs-update
Get the documentation building again
2017-05-24 09:49:40 -07:00
Kodi Arfer
584273b9ca Update documentation links
Fixes #1299.
2017-05-24 09:46:11 -07:00
Kodi Arfer
479c1755a9 Show a version number at the top of each docs page 2017-05-23 11:29:48 -07:00
Kodi Arfer
e15992829d Simplify docs/conf.py 2017-05-23 11:28:34 -07:00
Kodi Arfer
dd9774fb6d Remove the documentation's dependency on Hy itself 2017-05-23 11:28:28 -07:00