Paul Tagliamonte
abd0669911
add test for new for logic.
2014-01-10 22:16:35 -05:00
Paul Tagliamonte
2167c21120
Adjust (for) to just use itertools.product
...
This is to avoid nesting in for loops, helping make clear
what (break) and (else) do.
This commit is hereby dedicated to @nedbat
2014-01-10 22:00:30 -05:00
Paul Tagliamonte
c0a654e6cb
Add callgraph stuff. Slick look.
2014-01-10 21:03:19 -05:00
Clinton N. Dreisbach
977b47d3b4
Noted that args are optional with apply
2014-01-10 16:14:20 -05:00
Clinton N. Dreisbach
c03e798356
Added docs for apply
2014-01-10 16:09:56 -05:00
Clinton N. Dreisbach
849244f3b4
Make first and rest fns instead of macros
...
car and cdr are still macros, but I'd recommend either making them
fns or removing them.
2014-01-10 13:46:31 -05:00
Nicolas Dandrimont
5017e3c211
Add documentation for the attribute access DSL
2014-01-09 18:36:24 +02:00
Nicolas Dandrimont
78f6301e27
Add tests for the attribute access DSL
2014-01-09 03:35:32 +01:00
Nicolas Dandrimont
d18e752d33
Implement the . attribute access DSL
...
This fixes #399
2014-01-09 03:34:53 +01:00
Paul Tagliamonte
d4357fe35c
Add @kenanb's logo to the docs. It's so amazing.
...
Thanks so much! Read more at:
http://www.kenanb.com/posts/Hy-Programming-Language-Logo.html
2014-01-08 20:51:17 -05:00
Berker Peksag
3736b25c2d
Merge pull request #420 from Foxboron/readme-fix
...
Fixed readthedocs links and updated the quickstart URL
2014-01-07 19:04:24 -08:00
Foxboron
3279cd9719
fixed readthedocs links and updated the quickstart URL
2014-01-08 03:53:02 +01:00
Will Kahn-Greene
0999886d35
Update quickstart.rst
...
Nixing the float: left inducing thing so that it looks better
on RTD.
2014-01-06 17:13:04 -05:00
Berker Peksag
d9d113670e
Add versionadded directives for macroexpand and macroexpand-1.
2014-01-05 22:16:29 +05:30
Morten Linderud
7177afd707
Merge pull request #417 from copyninja/disassemble-docs
...
Added documentation for new core function disassemble
2014-01-05 08:04:17 -08:00
Vasudev Kamath
5b3f6879c6
Added .. versionadded: 0.9.13 and quoted the arguments. Also added
...
missing true for python code generation example.
Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
2014-01-05 19:55:41 +05:30
Vasudev Kamath
1bdf0d04c3
Added documentation for new core function disassemble
...
Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
2014-01-05 19:41:38 +05:30
Morten Linderud
7c2a76f7e6
Merge pull request #410 from paultag/paultag/bugfix/python3.4
...
Support Python 3.4 (initial cut)
2014-01-04 13:53:02 -08:00
Paul Tagliamonte
85bdd3fe19
Merge branch 'master' into paultag/bugfix/python3.4
2014-01-04 12:51:55 -05:00
Paul Tagliamonte
2f54cd0e78
Merge branch 'master' into pr/415
2014-01-04 12:49:47 -05:00
Nicolas Dandrimont
d3fa1fd1a8
Add disassemble function to hy.core.language
...
This function dumps the AST or the python code generated by evaluating a quoted expression to stdout.
Fixes #58
2014-01-04 03:47:04 +01:00
Paul Tagliamonte
de31aea5d2
Cleanup use of PY3* in the compiler.
2014-01-03 20:02:36 -05:00
Paul Tagliamonte
c5c36e1022
Merge branch 'master' into paultag/bugfix/python3.4
...
Conflicts:
bin/hy2py
2014-01-03 19:57:05 -05:00
Paul Tagliamonte
a5b37b7b51
Merge branch 'master' into pr/414
2014-01-03 19:47:27 -05:00
Nicolas Dandrimont
2f7d40b409
Factor the calling-module-name function
2014-01-03 21:41:14 +01:00
Nicolas Dandrimont
a1895f635c
reword the four steps a bit
2014-01-03 17:19:06 +01:00
Nicolas Dandrimont
1d5847823b
more precise disclaimer
2014-01-03 17:19:06 +01:00
Nicolas Dandrimont
72a300c6e3
Add some documentation about models
2014-01-03 17:19:06 +01:00
Nicolas Dandrimont
9e02eaca26
Whitespace fix
2014-01-03 17:19:06 +01:00
Nicolas Dandrimont
9a128edcb2
Pretty print the AST in hy2py
2014-01-03 17:18:33 +01:00
Bob Tolbert
715158c7db
Add a "clean" target to make and make.bat
2014-01-02 11:28:31 +02:00
Paul Tagliamonte
590d3bf1df
Clean up compare to use the tuple. Thanks @olasd
2014-01-01 22:33:44 -05:00
Nicolas Dandrimont
f452558f5e
Force output encoding of hy2py as utf-8
...
Fixes hy2py in py34
2014-01-01 22:12:50 -05:00
Bob Tolbert
c213a4e122
Merge pull request #411 from olasd/bugfix/382
...
Fix handling of comments at end of input
2014-01-01 18:56:04 -08:00
Nicolas Dandrimont
c1d5948d73
Add regression test for #382
2014-01-02 03:13:49 +01:00
Nicolas Dandrimont
a44e53f4de
Comments end when the input ends or a newline occurs
...
This fixes #382 , which occured because the REPL doesn't use trailing newlines.
2014-01-02 03:09:18 +01:00
Paul Tagliamonte
1d58e52584
Flake8 style fix.
2014-01-01 19:12:17 -05:00
Paul Tagliamonte
f28bf41f8d
Merge branch 'master' of github.com:hylang/hy into paultag/bugfix/python3.4
2014-01-01 18:59:23 -05:00
Paul Tagliamonte
d22a152134
Merge branch 'master' of github.com:hylang/hy into paultag/bugfix/python3.4
2014-01-01 18:58:39 -05:00
Paul Tagliamonte
26e2fb3606
Give a whack at Python 3.4 support
...
This adds ast.arg for Python 3.4+, for FunctionDef args and other
args (starargs, kwargs)
2014-01-01 18:56:09 -05:00
Nicolas Dandrimont
77baf3b9f3
Merge branch 'meth-fix' of https://github.com/Willyfrog/hy into Willyfrog-meth-fix
...
Conflicts:
tests/__init__.py
2014-01-02 00:53:40 +01:00
Nicolas Dandrimont
74739bc43e
Whitespace fix
2014-01-02 00:52:29 +01:00
Nicolas Dandrimont
88451bbeaa
Merge branch 'better-macroexpand' of https://github.com/sbp/hy into sbp-better-macroexpand
...
Conflicts:
hy/core/language.hy
tests/native_tests/language.hy
2014-01-02 00:49:40 +01:00
Paul Tagliamonte
575388fc13
Merge branch 'master' into pr/397
...
Conflicts:
hy/importer.py
2014-01-01 16:40:16 -05:00
Paul Tagliamonte
8adae9a01f
No fox for you.
2014-01-01 12:41:22 -05:00
Paul Tagliamonte
553337080a
Adding missing AUTHORs from the git log. Sorry, folks.
2014-01-01 12:39:06 -05:00
Bob Tolbert
032200bcb4
Some small doc fixes
...
This cleans up a number of doc warnings, including a bad
underline for zero?
While there, added a nil? function to match up with the
new nil is None.
Also un-hid myself from coreteam.
2013-12-31 16:14:05 -07:00
Paul Tagliamonte
dfbdbdfb73
We're 0.9.12
2013-12-31 14:24:50 -05:00
Bob Tolbert
978ededf23
Merge pull request #406 from paultag/paultag/bugfix/im-an-idiot
...
Paultag/bugfix/im an idiot
2013-12-31 11:12:15 -08:00
Paul Tagliamonte
eeef65b505
Change the signature of (for) and (with).
...
(for) is restored to clojure-like flatness.
(with) can be used without the nested list if you don't care about the
name.
Tests and examples updated.
2013-12-31 13:35:31 -05:00