James King
70e0d88149
WIP - Added &key support
2013-04-18 17:47:08 -04:00
James King
18ed72136f
Merge branch 'master' into feature/lambda-list-keyword
...
Conflicts:
hy/compiler.py
hy/lex/states.py
hy/util.py
tests/compilers/test_ast.py
tests/lex/test_lex.py
2013-04-18 15:17:30 -04:00
Nicolas Dandrimont
65c08c8c7d
Factor str_type into hy.util
2013-04-12 20:42:39 +02:00
Paul Tagliamonte
3ec828e660
Merge branch 'float_and_complex' of git://github.com/khinsen/hy into pr-109
2013-04-12 09:09:38 -04:00
Gergely Nagy
702811c69a
Implement :keyword support
...
This implements keywords, ":" prefixed symbols that are able to look
themselves up in a collection. They're internally stored as strings that
start with "\ufdd0".
This fixes #22 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-04-11 15:13:26 +02:00
Konrad Hinsen
b1f66b6893
Handle float and complex constants in addition to integer
2013-04-10 14:26:16 +02:00
James King
4d90123506
Merge branch 'develop' into feature/lambda-list-keyword
2013-04-09 15:13:25 -04:00
Paul R. Tagliamonte
f27378e57a
Adding in some prototype bits for quoted forms.
2013-04-08 20:18:15 -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
5a96089266
Using backslashes for now; punycode soon.
2013-04-06 21:33:52 -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
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
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 R. Tagliamonte
a0ff144686
adding slightly better reprs in
2013-03-18 21:08:35 -04:00
Paul R. Tagliamonte
4cb4e7384e
holy shit it's 2013
2013-03-18 10:27:14 -04:00
Paul R. Tagliamonte
0a86226da0
fixing up dicts + macros
2013-03-10 10:30:03 -04:00
Paul R. Tagliamonte
db39a81a30
fixing the thinger.
2013-03-08 20:21:32 -05:00
Paul Tagliamonte
abf63fca12
fixing up the tests
2013-03-08 18:46:51 -05:00
Paul Tagliamonte
67b803b99a
Breaking things to start again.
2013-03-08 18:18:43 -05:00
Paul R. Tagliamonte
b520d3148b
Revert "Adding in Quoting bits."
...
This reverts commit db122f2ec9
.
I'm an idjiot.
2013-03-07 21:37:43 -05:00
Paul R. Tagliamonte
db122f2ec9
Adding in Quoting bits.
2013-03-07 21:29:18 -05:00
Paul R. Tagliamonte
935ef5424e
Add in dicts.
2013-03-06 20:59:45 -05:00
Paul R. Tagliamonte
37a11247c7
Tweaking the AST.
2013-03-05 21:42:54 -05:00
Paul R. Tagliamonte
7a925b5ee4
futzing with ideas
2013-03-05 20:28:09 -05:00
Paul R. Tagliamonte
b777ac42a7
Update etc
2013-03-02 20:38:18 -05:00
Paul R. Tagliamonte
159151f847
thingthings. like licensing.
2013-03-02 20:24:32 -05:00
Paul R. Tagliamonte
f14ccb6d22
Adding in the Integer bits.
2013-03-02 19:28:10 -05:00
Paul R. Tagliamonte
5c6d98a24a
Rebuilding.
2013-02-28 22:37:23 -05:00