Kodi Arfer
b25a69179f
Update the documentation of while
2017-11-02 07:32:03 -07:00
Ryan Gonzalez
e0e664c030
Merge branch 'master' into letmacro
2017-11-01 09:39:18 -05:00
gilch
91bdaea535
add documentation macros
2017-10-30 21:25:25 -06:00
gilch
e90f082baf
back let
with dict for better defclass behavior
2017-10-30 20:23:57 -06:00
gilch
497e929913
generalize #% to arbitrary expressions
2017-10-26 14:23:25 -06:00
gilch
b5f1136ba5
%* %** parameters for #% tag macro
2017-10-26 13:03:01 -06:00
gilch
f81fb771eb
change xi macro to #% tag macro
2017-10-26 12:55:48 -06:00
gilch
d2e8537d3f
document let
2017-09-23 15:00:00 -06:00
Ryan Gonzalez
db210929d0
Merge pull request #1360 from gilch/model-repr
...
proper reprs for Hy models
2017-09-18 08:45:28 -05:00
gilch
d38956fb9e
remove trailing commas in HyDict reprs
2017-09-18 01:03:00 -06:00
Rob Day
5a6488e353
Treat _42 etc. as a variable name, not an integer
2017-09-16 16:12:29 -07:00
Kodi Arfer
0c229ebda5
NEWS and docs for hashstrings
2017-09-08 11:27:34 -07:00
Kodi Arfer
0a633d8024
Correct a ReST syntax typo
2017-09-08 11:27:34 -07:00
gilch
af8d209496
update docs for new hy model reprs
2017-09-08 10:59:57 -07:00
Zaheer Soebhan
9afb196c8b
Change the examples in the tutorial to Python 3
2017-08-27 14:17:07 -07:00
Kodi Arfer
cebb820b6c
Update NEWS and docs for return
2017-08-20 08:45:17 -07:00
Ryan Gonzalez
dea99c8b76
Merge pull request #1354 from gilch/comment-discard
...
add #_ discard syntax
2017-08-19 11:29:57 -05:00
Kodi Arfer
8d40a68232
Initialize the return variable of with
2017-08-19 07:35:41 -07:00
Jordan Danford
c67b8bccb9
Expose read
, read_str
, and eval
in Python
...
- Expose `read`, `read_str`, and `eval` in Python
- Add string evaluation example to interop section of docs
- Add test for `eval`
- Explain `eof` keyword argument in `read` docstring
2017-08-05 17:29:15 -07:00
gilch
4dd57c84ee
NEWS and docs for (comment ...) and #_
2017-08-04 16:37:39 -06:00
Kodi Arfer
e8ffd41202
Merge pull request #1349 from woodrush/fix-unquote-splice-none
...
Allow `unquote-splice` to accept any false value as empty
2017-08-02 19:50:47 -04:00
Kodi Arfer
ecc974de1e
Implement Python 2 exec
...
The implementation of `hy.core.language.exec` draws code from the `exec_` function in commit f574c7be6ebc80041ef58ca29588f310248ebed4 of the library Six, which is copyright 2010–2017 Benjamin Peterson and licensed under the Expat license.
2017-08-02 13:33:59 -04:00
Hikaru Ikuta
dbffe987f5
Update docs on unquote-splice
2017-08-02 18:03:24 +09:00
Kodi Arfer
3f3cce8785
Update docs: apply
is gone; #* and #** are in
2017-07-19 11:00:43 -07:00
Kodi Arfer
bb91b57dca
Require capitalizing NaN and Inf like so
2017-07-10 08:50:49 -07:00
Kodi Arfer
ca95194240
Change eval
from a special form to a function
2017-06-27 08:14:29 -06:00
Ryan Gonzalez
e92ef484a0
Merge pull request #1310 from gilch/tagged-literals
...
Tag macros
2017-06-23 10:13:43 -05: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
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
Kodi Arfer
d86381ff98
Merge pull request #1300 from Kodiologist/contributing
...
Overhaul CONTRIBUTING.rst
2017-06-14 14:08:34 -07: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
neil-lindquist
d3df17d9d8
Modify cond to support single argument branches
2017-06-10 08:30:53 -07: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
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
gilch
b9279183d7
Merge pull request #1286 from Kodiologist/new-license-headers
...
Use license headers consistently
2017-05-22 13:36:53 -06:00
Yuval Langer
687d750a88
Remove stray use of setf
in documentation
2017-05-19 13:36:06 -07:00
Kodi Arfer
0162647bf3
Update the docs copyright footer.
2017-05-15 13:09:34 -04:00
Kodi Arfer
d3fa375052
Migrate from Nose to pytest
2017-04-26 14:00:11 -07:00
Kodi Arfer
4c38e2c9dd
Rename reader macros to "sharp macros" ( #1282 )
...
They're not actually reader macros, since their arguments are parsed s-expressions, like a regular macro, not pre-parsed source text.
2017-04-21 10:07:48 -05:00
Kodi Arfer
18acfe6495
Revert the extension of with-decorator
to setv
...
This is no longer necessary now that `defn` always produces a `FunctionDef`.
To compensate, I've made small edits to two contrib modules and reverted a small test change.
2017-04-13 06:36:00 +03:00
Kodi Arfer
bb9f543246
Merge pull request #1265 from tuturto/repl-doc
...
Add --repl-output-fn into command line docs
2017-04-01 08:01:43 -07:00
Kodi Arfer
36d09cb194
More documentation of strings and keywords
...
Currently, HyKeyword is not in fact a subclass of HyString, so I removed that statement.
2017-04-01 08:23:41 +03:00
Tuukka Turto
5b2d823028
Add --repl-output-fn into command line docs
2017-04-01 08:10:45 +03:00
Kodi Arfer
f8e5645c2e
Small NEWS and docs fixes for hy-repr ( #1258 )
2017-03-25 12:13:44 -05:00
Kodi Arfer
33a696d487
Add a command-line option --repl-output-fn (especially for hy.contrib.hy-repr)
2017-03-24 09:03:12 -07:00