Gergely Nagy
9f88e07e1d
Drop a set of brackets from let.
...
This changes let to use a flat list of symbol-value pairs instead of a
vector of vectors. One side effect is that (let [[a 1] z]) is not
expressible now, and one will explicitly need to set a nil value for z,
such as: (let [a 1 z nil]).
Closes #713 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-10-01 10:08:04 +02:00
gilch
a22e2ca4cc
purged null from Hy
...
we already have `nil`, and `null` was barely ever used.
2015-08-11 16:22:13 -06:00
gilch
66c1f38fcc
remove catch in favor of except
2015-08-09 00:53:10 -06:00
Calem Bendell
12db748c97
corrected slice to cut in docs
...
corrected slice to cut in the documentation.
also corrected a line in parse tumblr that used slice
2015-08-05 13:21:37 +02:00
Abhishek L
4f74652c73
the mega typo fix commit
...
Wow! much typos! such fix!
2014-05-05 23:47:14 +05:30
Berker Peksag
3528cc8278
Kill kwapply.
...
Closes #433 .
2014-04-09 20:10:31 +03:00
Paul Tagliamonte
54da3f08dd
Add Curry module.
2014-03-29 14:40:13 -04:00
Ivan Kozik
f2839b727f
Fix imports for Python 3
2014-03-18 11:15:26 +00:00
Berker Peksag
25459177eb
Move "hy on meth" example to eg/.
2014-01-14 06:03:57 +02:00
Paul Tagliamonte
eeef65b505
Change the signature of (for) and (with).
...
(for) is restored to clojure-like flatness.
(with) can be used without the nested list if you don't care about the
name.
Tests and examples updated.
2013-12-31 13:35:31 -05:00
Paul Tagliamonte
7c446ed81a
Removing this file because it's nonfree.
...
The terms aren't clear, so I'm just going to get rid of this. Sad, but
meh.
2013-12-01 09:43:45 -05:00
Abhishek L
b8efb5c242
eg/twisted: Modified to follow the newer hy syntax
...
Updated example to follow newer function syntax, also replaced `caddr'
by `second'.
2013-11-24 21:22:12 +05:30
Johan Euphrosine
e1b3f2cf74
eg: add appengine skeleton
2013-10-31 11:56:48 -07:00
Joe H. Rahme
236ebccc74
Removes setf
in favor of setv
2013-07-10 02:16:49 +02:00
Paul Tagliamonte
9b45dd4ffe
add tumblr printer
2013-06-25 21:47:54 -04:00
Duncan McGreggor
de8b62d0d5
Added Twisted example.
2013-06-25 10:54:40 -07:00
Paul Tagliamonte
2e7cd16169
add in a clint example while I ponder hy scripts using it
2013-06-08 20:35:50 -04:00
Julien Danjou
27e74d43b1
Re-indent Hy code using hy-mode
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-28 16:31:31 +02:00
Gergely Nagy
494bf0e8ad
Remove the import-as and import-from builtins
...
The new and improved (import) can handle all cases import-as and
import-from did, so drop the latter two from the language. To do this,
the import builtin had to be changed a little: if there's a single
import statement to return, return it as-is, otherwise return a list of
imports.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-04-20 16:06:32 +02:00
Paul Tagliamonte
41f0a69862
Add in a Python 3 hello world
2013-04-02 21:33:08 -04:00
Christopher Allan Webber
1b60bee8a3
Change all instances of (def foo bar) to (setv foo bar)!
...
I'm in ur base polluting your language with all my opinions!
2013-04-01 16:51:28 -05:00
Paul R. Tagliamonte
116862346a
futzing
2013-03-27 20:52:06 -04:00
Paul R. Tagliamonte
366264fbab
Toying with gevent
2013-03-27 20:09:42 -04:00
Paul R. Tagliamonte
731c8ebd1c
Adding in a Debian example
2013-03-25 21:37:55 -04:00
Paul R. Tagliamonte
ed310197dd
Adding in a hylarious example
2013-03-23 14:33:04 -04:00
Paul R. Tagliamonte
82fab4d38f
add clean step
2013-03-20 00:38:45 -04:00
Paul R. Tagliamonte
dcd2a718f1
ignore result
2013-03-20 00:38:28 -04:00
Paul R. Tagliamonte
004c50124d
Adding in an rPython example.
2013-03-20 00:37:43 -04:00
Paul R. Tagliamonte
3099fc3c26
space.
2013-03-15 13:01:08 -04:00
Paul R. Tagliamonte
e2ff4a447f
Adding in another trivial example
2013-03-15 13:00:28 -04:00
Paul R. Tagliamonte
7741b2e1dd
Adding in #! as a comment
2013-03-14 21:03:33 -04:00
Paul R. Tagliamonte
b648aa858d
Adding in a port of Dan Gulotta's "The Halting Problem" .clj script.
2013-03-09 18:43:26 -05:00
Paul Tagliamonte
f5836da2a5
Kill everything
2013-02-27 19:00:52 -05:00
Paul Tagliamonte
6e33a7e3a3
changes
2013-01-17 09:11:03 -05:00
Paul Tagliamonte
1c1f4b7dbf
lunchtime fix
2013-01-16 13:16:16 -05:00
Paul Tagliamonte
54269898fc
first_name thing
2013-01-15 23:16:25 -05:00
Paul Tagliamonte
1ac2c0caaf
Adding pkginfo script in
2013-01-15 23:12:58 -05:00
Paul Tagliamonte
676c4f5448
Doing some cleanup
2013-01-12 14:32:32 -05:00
Paul Tagliamonte
5a710f9be6
doh
2013-01-02 22:06:22 -05:00
Paul Tagliamonte
96a104e060
heheheh
2013-01-02 22:05:14 -05:00
Paul Tagliamonte
87b602fc9f
m'fn kwargs
2012-12-22 23:07:09 -05:00
Paul Tagliamonte
395943ca53
some hacking
2012-12-22 00:18:37 -05:00
Paul Tagliamonte
9c58c196c8
python-sunlight example
2012-12-18 23:55:50 -05:00
Paul Tagliamonte
d4ed65ff63
adding lexer thingers
2012-12-18 23:16:18 -05:00
Paul Tagliamonte
05a9bea3d6
add in the hello
2012-12-18 22:39:15 -05:00