Julien Danjou
3e9a2178c5
Add support for unary operators (not, ~)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 10:38:41 +02:00
Julien Danjou
b36018981a
if: emit error on too many args
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 10:13:14 +02:00
Julien Danjou
9768345a7c
let: add a scope test
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 10:12:03 +02:00
Will Kahn-Greene
485c98c799
Add important pause in quickstart to regain composure
2013-04-05 21:50:56 -04:00
Paul R. Tagliamonte
7abc472336
Implementing `let'
2013-04-05 21:54:04 -04:00
Will Kahn-Greene
9178d541fd
Add necessary conclusion to quickstart
2013-04-05 21:38:18 -04:00
Will Kahn-Greene
3cfaf0af1e
Tweak runline for easier reading
2013-04-05 21:27:30 -04:00
Will Kahn-Greene
f9f99a430b
Linkificate the other Python virtual environment text
2013-04-05 21:22:47 -04:00
Paul R. Tagliamonte
f129c50c1f
We suck at changelog stuff; blasting.
2013-04-05 21:24:27 -04:00
Paul R. Tagliamonte
d48c2b7cae
Calling this 0.9.4
2013-04-05 20:47:25 -04:00
Julien Danjou
fa5ab3b3ad
Tests for a future native-eval. Close #64 .
2013-04-05 20:18:46 -04:00
Paul R. Tagliamonte
d206e327a9
Removing my name from the license.
2013-04-05 20:04:36 -04:00
Paul R. Tagliamonte
42882a116c
Merge branch 'docs-me-now' of git://github.com/willkg/hy
2013-04-05 20:04:28 -04:00
Paul R. Tagliamonte
3b185250e0
trailing newlines suck
2013-04-05 20:01:37 -04:00
Paul R. Tagliamonte
d762625aeb
also ignore setf / setv
2013-04-05 20:00:19 -04:00
Paul R. Tagliamonte
27e4772aa7
Test the function return-o-matic
2013-04-05 19:59:33 -04:00
Paul R. Tagliamonte
65ad7a3b87
Adding FunctionDef as a returnable
2013-04-05 19:46:27 -04:00
Paul R. Tagliamonte
1d01d8874a
Bugfix for #50 . I'm slowly starting to take a shine to this.
2013-04-05 19:29:31 -04:00
Will Kahn-Greene
4ddae38a8b
Linkificate the Python virtual environment text
2013-04-05 16:39:46 -04:00
Will Kahn-Greene
b37f5f21d5
Fix to be more friendly
2013-04-05 16:34:25 -04:00
Will Kahn-Greene
6fbba17158
Add quickstart and hacking docs
2013-04-05 16:30:12 -04:00
Will Kahn-Greene
39106c9c62
Add explicit LICENSE file
...
The LICENSE is at the top of setup.py, but ... having a LICENSE
or COPYING file is more conventional. So this adds that.
2013-04-05 16:29:32 -04:00
Will Kahn-Greene
57f764ebfe
Cosmetic: Fix header formatting
...
This tweaks the header formatting in reST so that we can use ---
for 3rd level headers.
2013-04-05 14:56:59 -04:00
Paul R. Tagliamonte
936d1bcec7
testing nested things
2013-04-04 21:58:26 -04:00
Paul R. Tagliamonte
7da1129298
Merge branch 'master' into bugfix/branch-mangler
2013-04-04 21:52:45 -04:00
Paul R. Tagliamonte
9578ae7a57
This fix is in living memory of paroneayea
2013-04-04 21:52:15 -04:00
Paul R. Tagliamonte
7c9fa3758c
Print is for loosers.
2013-04-04 21:50:01 -04:00
Paul R. Tagliamonte
4e2e18576a
Fixing a subtle bug.
2013-04-04 21:49:04 -04:00
Paul R. Tagliamonte
256506ede0
Sketch for #50 - branch mangler
...
This is only slightly better. The insert point needs to walk
with the for loop.
2013-04-04 21:47:00 -04:00
Paul R. Tagliamonte
b2406a9d72
list flattener
2013-04-04 19:32:56 -04:00
Paul R. Tagliamonte
3cd35e3ca6
Merge branch 'bugfix/fn-do' of git://github.com/olasd/hy
2013-04-04 07:30:40 -04:00
Nicolas Dandrimont
ba021ed7bf
Count the number of expressions executed in do
2013-04-04 11:20:10 +02:00
Nicolas Dandrimont
06511fe303
Add do-in-defn tests
2013-04-04 11:08:18 +02:00
Nicolas Dandrimont
940afcafa9
Allow (do) inside (defn)
...
Closes #59
2013-04-04 11:07:38 +02:00
Nicolas Dandrimont
99f62fb8b3
Add some tests for defn
2013-04-04 09:29:21 +02:00
Paul R. Tagliamonte
20df97a66d
note to self, changelog
2013-04-03 20:39:00 -04:00
Paul R. Tagliamonte
d421d869af
Fixing the "olasd" bug
2013-04-03 20:18:56 -04:00
Paul R. Tagliamonte
1763cb7a60
Merge branch 'master' of git://github.com/olasd/hy
2013-04-03 19:52:51 -04:00
Christopher Allan Webber
d5d05c1dba
Removing accidental 1 insertion. Sorry paultag!
2013-04-03 16:27:20 -05:00
Christopher Allan Webber
39bc7e0b97
Replacing "quirks and eccentricities" with a "welcome"
...
We love welcoming people!
2013-04-03 16:27:01 -05:00
Christopher Allan Webber
976d8b5bf1
Renaming "language spec" to "tutorial"
2013-04-03 16:21:31 -05:00
Nicolas Dandrimont
b098070a7d
Add myself to AUTHORS
2013-04-03 21:03:34 +02:00
Nicolas Dandrimont
d070d3d484
Add while loops to the compiler
2013-04-03 19:55:09 +02:00
Christopher Allan Webber
c627fad5e2
No documentation of one of .hy's coolest features, bidirectional imports!
2013-04-03 11:59:52 -05:00
Christopher Allan Webber
4a6fa15099
There's no reason for the " ; and a little more complex" comment
2013-04-03 11:30:22 -05:00
Christopher Allan Webber
ab1f30def5
Add hy logo to frontpage of docs
2013-04-03 11:27:40 -05:00
Christopher Allan Webber
3537a8285d
New (hy) logo!
2013-04-03 11:00:35 -05:00
James King
dceaad716a
[WIP] Added lambda list keyword parsing step
...
This allows us to translate lisp argument lists to Python ones.
(defun foo (x y &rest z &optional {foo 3} &aux kwargs))
translates roughly to:
def foo(x, y, *z, foo=3, **kwargs):
pass
2013-04-03 11:39:31 -04:00
James King
c200b4e3d1
Added HyLambdaListKeyword tokens to the lexer
...
The name "lambda list keyword" is a historical artifact from the CLHS
and not optimal (http://clhs.lisp.se/Body/26_glo_l.htm ).
The name may change at some point.
2013-04-03 10:19:18 -04:00
Paul Tagliamonte
7fed29dad8
Forgot to add @jd to AUTHORS. Thanks!
2013-04-03 09:22:37 -04:00