Johan Euphrosine
cccbcea13b
eg/tryhy: update appid
2013-10-31 14:47:06 -07:00
Johan Euphrosine
c32172e758
eg: add tryhy
2013-10-31 14:39:24 -07:00
Johan Euphrosine
e1b3f2cf74
eg: add appengine skeleton
2013-10-31 11:56:48 -07:00
Paul Tagliamonte
b4ff53e5f8
Merge branch 'master' into pr/314
2013-10-24 19:29:13 -04:00
Paul Tagliamonte
2778a8b379
Someone fix this with a real path
2013-10-22 21:08:33 -04:00
Christopher Allan Webber
8348b2b0fd
Fix the repo location
2013-10-17 15:35:17 -05:00
Nicolas Dandrimont
06628dbba5
Fully qualify the HyTypeError reference
...
No need to import it explicitly, the hy module is available everywhere.
2013-10-17 18:53:43 +02:00
J Kenneth King
b56f03ed29
Merge pull request #312 from joehakimrahme/master
...
Uses square brackets for conds in docs
2013-10-16 10:31:00 -07:00
Joe H. Rahme
3856467bf6
Uses square brackets for conds in docs
2013-10-16 18:31:18 +02:00
Sean B. Palmer
c34db29ba8
Fixed --name-- scope problem using ugly inspect code
2013-10-11 14:30:55 +01:00
Sean B. Palmer
defccc6853
Added macroexpand-1
2013-10-11 13:50:10 +01:00
Sean B. Palmer
033198a90e
Added documentation for macroexpand
2013-10-11 12:06:22 +01:00
Sean B. Palmer
2e60d6b47b
Added a simple test for macroexpand
2013-10-11 12:03:52 +01:00
Sean B. Palmer
a34db9119b
Add macroexpand to core/language.hy
2013-10-11 11:55:14 +01:00
Guillermo Vaya
34275fab60
Added type coercing to the right integer for the platform
2013-10-11 08:35:32 +02:00
Nicolas Dandrimont
80feaf57fc
Make HyObject.replace more resilient
...
This makes it work on quoted objects
2013-10-11 08:13:17 +02:00
Guillermo Vaya
f61d702788
Int conversion to long in py2.x
...
Updated to current master
Droped HyInt/HyLong commit
2013-10-11 01:49:42 +02:00
Paul Tagliamonte
312d4816ce
nom'ing @olasd's redirect
2013-10-10 17:44:06 -04:00
Paul Tagliamonte
187268c960
Merge branch 'master' into pr/300
2013-10-10 17:42:51 -04:00
Paul Tagliamonte
8377097a36
Merge branch 'master' into pr/298
2013-10-10 17:30:03 -04:00
Paul Tagliamonte
e053157ff1
Merge branch 'master' into pr/294
2013-10-10 17:25:13 -04:00
Paul Tagliamonte
656d646198
change virtualenv name to be `hy'
2013-10-10 17:17:43 -04:00
Paul Tagliamonte
a70bcc1f2f
Merge branch 'master' into pr/306
2013-10-10 17:17:20 -04:00
Sean B. Palmer
6364296a7b
Documented punycode conversion more thoroughly using a compound case
2013-10-10 15:59:19 +01:00
Berker Peksag
221a9b4918
Mention virtualenvwrapper in the hacking guide.
2013-10-09 12:36:35 +03:00
Paul Tagliamonte
e5f91c48e9
Merge pull request #304 from berkerpeksag/patch-1
...
Update hacking guide.
2013-10-07 20:04:05 -07:00
Berker Peksag
0248e42633
Update hacking guide.
2013-10-08 06:00:25 +03:00
Guillermo Vaya
25bf3dec42
Add a method for casting into byte string or unicode depending on python version
2013-10-03 23:39:17 +02:00
Berker Peksag
a038d3c592
Remove the redundant pass statement.
2013-09-30 12:55:05 +03:00
Nicolas Dandrimont
a90c866327
Rewrite language.hy not to require hy.core.macros
...
As was intended when the bootstrap and core macros were separated.
2013-09-29 18:13:28 +02:00
Nicolas Dandrimont
875d5f2ff5
Rewrite the bootstrap macros in hy
...
This gets rid of the dichotomy between bootstrap.py and macros.hy,
by making both files hy modules.
I added some error checking to make the macros more resilient. The
biggest (user-visible) change is the change in cond, which now only
accepts lists as arguments. Tests updated accordingly.
Closes : #176 (whoops, no more bootstrap)
2013-09-29 18:13:28 +02:00
Nicolas Dandrimont
d5bf328aa7
Cleanup the hy.macros module
...
Add comments to the functions, reorder, make the file clearer
2013-09-29 18:13:28 +02:00
Nicolas Dandrimont
9ea153fd7e
Add @berkerpeksag to AUTHORS
2013-09-29 15:10:33 +02:00
Nicolas Dandrimont
295e1240ad
PY3 should really check for Python >= 3
2013-09-29 14:53:44 +02:00
Berker Peksag
f21ddeeded
Add hy._compat module.
...
There was a couple of duplicate imports and type checkings in the
codebase. So I added a new module to unify all Python 2 and 3
compatibility codes.
Also, this is a somewhat common pattern in Python. See Jinja2 for
example:
https://github.com/mitsuhiko/jinja2/blob/master/jinja2/_compat.py
2013-09-29 12:10:08 +03:00
Tuukka Turto
203dc4e6b2
Merge pullrequest #296
2013-09-29 08:49:52 +03:00
Jack
e4e07e32b0
Update README.md
...
Current url errors: "Choose a redirect for quickstart.html on hy.readthedocs.org"
2013-09-27 20:42:51 -04:00
khinsen
99a5064318
Merge pull request #297 from olasd/print-function
...
Always import __future__.print_statement in hy code
2013-09-27 00:04:37 -07:00
Guillermo Vaya
ff7c71b9c9
comply with hy's tao rules for getattr
2013-09-23 23:34:45 +02:00
Guillermo Vaya
3f1243f88c
changed to use short version of macros
2013-09-23 23:34:45 +02:00
Guillermo Vaya
d495473c54
Translation of meth from Python to Hy
2013-09-23 23:34:45 +02:00
Nicolas Dandrimont
f6aa7e953d
Always import __future__.print_statement in hy code
...
This allows us to drop the print special-casing in the
compiler, and makes behavior consistent in Python2/3.
2013-09-22 15:31:15 +02:00
Nicolas Dandrimont
6a7d97c286
Add test for unquote-splice behavior
2013-09-22 15:12:59 +02:00
Nicolas Dandrimont
48dd968461
Coerce the contents of unquote-splice'd things to a list
...
This fixes the conversion issue in the following macro:
(defmacro doodle [&rest body]
`(do ~@body))
2013-09-22 15:08:43 +02:00
Nicolas Dandrimont
7a403a2660
Merge branch 'patch-1' of https://github.com/berkerpeksag/hy into berkerpeksag-patch-1
2013-09-22 12:27:22 +02:00
Berker Peksag
522553ffec
Various setup.py enhancements.
...
- PEP8 fixes
- Use setuptools.find_packages()
- Update PyPI classifiers
- Update website URL
- Install the argparse module in Python 2.6 and before
- Delete the duplicate rply in install_requires. With the PyPI
version, tests are failed.
2013-09-20 09:08:29 +03:00
Bob Tolbert
7e8a7edbdc
finally fixed access to hy.core.macros here. have to explicitly require them
2013-09-14 12:17:06 -06:00
Bob Tolbert
d9dee8ec67
One more commit to change the test for Python 2/3 to a macro
...
Note that this can't use the macro in hy.core.macros so there
is a local copy in language.hy
2013-09-03 18:41:11 -06:00
Bob Tolbert
9d2ad4b4ff
slightly cleaner version of drop-while, could use yield-from when ready
2013-09-03 13:52:00 -06:00
Bob Tolbert
399ea1889a
Second (smaller) set of native core functions
...
This rounds out the first pass at a set of core functions, adding
some that were not in the first PR.
From here I'm working on a contrib.seq and contrib.io module to
hold less obvious but maybe interesting native functions that can
move to core if desired.
This should also close out issure #150 asking for some core
functions like these.
2013-09-03 13:52:00 -06:00