Gergely Nagy
f03b538787
Implement the (and) function
...
The function takes at least two arguments, and turns it into a pythonic
and statement, which returns the last True-ish value, or False.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-04-07 23:54:56 +02:00
Paul R. Tagliamonte
3cc165545d
add to NEWS
2013-04-07 15:07:24 -04:00
Paul R. Tagliamonte
bfc71e4a60
Add tail threading (->>)
2013-04-07 15:05:30 -04:00
Paul R. Tagliamonte
546e7ff50b
Style bits
2013-04-07 14:32:47 -04:00
Nicolas Dandrimont
1853b7d33c
Correctly balance the brackets in the wrong syntax tests
...
We want to test the compiler, not the lexer.
2013-04-07 19:53:50 +02:00
Paul R. Tagliamonte
0c0db1ddcb
some last entries
2013-04-07 13:24:46 -04:00
Paul R. Tagliamonte
eba57bea07
Backfilling NEWS entries
2013-04-07 13:24:19 -04:00
Paul R. Tagliamonte
0d96c95fe9
Adding 0.9.3 entries
2013-04-07 13:03:45 -04:00
Paul R. Tagliamonte
070896adca
Adding in a NEW file; filling this in
2013-04-07 12:47:21 -04:00
Julien Danjou
bdd07e1251
Alias except' to
catch' and raise' to
throw'
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-07 18:24:01 +02:00
Julien Danjou
2fd56e8fa1
catch: uncomment some tests
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-07 18:20:32 +02:00
Paul R. Tagliamonte
5e5ae07a9f
fixing up the hy site to match the new catch syntax
2013-04-07 12:25:13 -04:00
Paul R. Tagliamonte
70fd991ef1
Merge branch 'jd/catch' of git://github.com/jd/hy into pr-73
2013-04-07 12:23:27 -04:00
Julien Danjou
6dec894a0c
Better catch syntax
...
The syntax is now changed to:
(catch [] BODY)
(catch [Exception] BODY)
(catch [e Exception] BODY)
(catch [e [Exception1 Exception2]] BODY)
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-07 18:03:43 +02:00
Paul R. Tagliamonte
4629501628
Addining some initial docs.
2013-04-07 11:35:10 -04:00
Paul R. Tagliamonte
3c735d18bd
Revert "Revert "Remove useless code""
...
This reverts commit 262da59c77
.
Conflicts:
hy/models/string.py
2013-04-07 10:06:44 -04:00
Paul R. Tagliamonte
9d36dab693
Test importing things with dashes
2013-04-07 09:54:53 -04:00
Will Kahn-Greene
2724478f13
Fix clone url in hacking docs
2013-04-07 07:55:25 -04:00
Paul R. Tagliamonte
c657def253
namespaceing to __hy in case anyone tries this 4real
2013-04-06 23:31:26 -04:00
Paul R. Tagliamonte
03dfbde1b8
style voodoo
2013-04-06 23:11:43 -04:00
Paul R. Tagliamonte
0429cbea12
Using punycode where we can.
2013-04-06 22:49:48 -04:00
Paul R. Tagliamonte
5a96089266
Using backslashes for now; punycode soon.
2013-04-06 21:33:52 -04:00
Paul R. Tagliamonte
bac3f6991c
Revert "adding this as testable"
...
This reverts commit 104b9d1636
.
2013-04-06 20:03:14 -04:00
Paul R. Tagliamonte
e0ed7cac40
Revert "Make HySymbol bytes free!"
...
This reverts commit 8b144a4f3d
.
2013-04-06 20:02:08 -04:00
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