Commit Graph

984 Commits

Author SHA1 Message Date
Johan Euphrosine
564bef5db8 eg/tryhy: add footer 2013-11-08 16:30:57 -08:00
Johan Euphrosine
d8515c54f9 eg/tryhy: add skin and meta tags, remove blink 2013-11-08 15:32:08 -08:00
Johan Euphrosine
68891f5d32 eg/tryhy: add server_sofware to welcome message 2013-11-02 01:25:17 -07:00
Johan Euphrosine
b099925eb2 eg/tryhy: add blinking cursor 2013-11-02 01:12:11 -07:00
Johan Euphrosine
c02a1c6b4a eg/hytry: add performance settings 2013-11-02 00:49:33 -07:00
Johan Euphrosine
4976f0db0f eg/tryhy: enable warmup request 2013-11-01 23:39:16 -07:00
Johan Euphrosine
50ee81df13 eg/tryhy: add version number 2013-11-01 23:36:59 -07:00
Johan Euphrosine
079e3002a7 ex/tryhy: per request repl instance 2013-11-01 16:21:54 -07:00
Johan Euphrosine
a090b86b5e eg/tryhy: add error handling 2013-11-01 11:44:05 -07:00
Johan Euphrosine
0aae750068 eg/tryhy: update title
eg/tryhy: update title
2013-10-31 14:56:04 -07:00
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
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
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
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