Commit Graph

651 Commits

Author SHA1 Message Date
Paul R. Tagliamonte
262da59c77 Revert "Remove useless code"
This reverts commit 801c4e0099.
2013-04-06 20:01:55 -04:00
Paul R. Tagliamonte
104b9d1636 adding this as testable 2013-04-06 19:57:59 -04:00
Paul R. Tagliamonte
0eb4029d74 Merge branch 'jd/clean-hystring' of git://github.com/jd/hy 2013-04-06 19:17:28 -04:00
Julien Danjou
801c4e0099 Remove useless code
This seems to have no purpose to me.

Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 23:40:21 +02:00
Julien Danjou
8b144a4f3d Make HySymbol bytes free!
We can know use any amount and type of bytes to build a HyString, meaning we
can use Unicode and UTF-8 for our function and variables.

Eat that, snake!

Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 23:37:34 +02:00
Julien Danjou
123339bfcf tests: simplify not compiling tests
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 21:28:12 +02:00
Julien Danjou
78133500cb Fix flake8 errors in tests
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 21:22:35 +02:00
Julien Danjou
ae7d2ee845 Add flake8 in tox
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 21:16:28 +02:00
Paul R. Tagliamonte
914011175f Style fixes 2013-04-06 13:15:32 -04:00
Julien Danjou
0eb795b4a5 Check the number of arguments for each function
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-06 19:00:32 +02:00
Paul R. Tagliamonte
4b57fd0a51 Adding in an If mangle 2013-04-06 11:10:33 -04:00
Paul R. Tagliamonte
3ab7153398 Merge branch 'master' of git://github.com/jd/hy 2013-04-06 08:19:23 -04:00
Paul R. Tagliamonte
a625493a3f Style fix 2013-04-06 08:18:45 -04:00
Paul R. Tagliamonte
6aebc5820f Merge branch 'jd/if' of git://github.com/jd/hy 2013-04-06 08:18:13 -04:00
Paul R. Tagliamonte
c612582e7b cosmetic style fix 2013-04-06 08:17:04 -04:00
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