2013-04-08 15:58:43 +02:00
|
|
|
Changes from Hy 0.9.4
|
|
|
|
|
|
|
|
[ Syntax Fixes ]
|
|
|
|
|
|
|
|
* `try' now accepts `else': (JD)
|
|
|
|
(try BODY
|
|
|
|
(except [] BODY)
|
|
|
|
(else BODY))
|
|
|
|
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
Changes from Hy 0.9.4
|
|
|
|
|
|
|
|
[ Syntax Fixes ]
|
|
|
|
|
2013-04-08 01:44:52 +02:00
|
|
|
* Statements in the `fn' path early will not return anymore. (PT)
|
2013-04-07 19:03:45 +02:00
|
|
|
* Added "not" as the inline "not" operator. It's advised to still
|
2013-04-07 18:47:07 +02:00
|
|
|
use "not-in" or "is-not" rather then nesting. (JD)
|
2013-04-07 20:32:47 +02:00
|
|
|
* `let' macro added (PT)
|
2013-04-07 19:03:45 +02:00
|
|
|
* Added "~" as the "invert" operator. (JD)
|
2013-04-07 18:47:07 +02:00
|
|
|
* `catch' now accepts a new format: (JD)
|
|
|
|
(catch [] BODY)
|
|
|
|
(catch [Exception] BODY)
|
|
|
|
(catch [e Exception] BODY)
|
|
|
|
(catch [e [Exception1 Exception2]] BODY)
|
2013-04-08 00:35:36 +02:00
|
|
|
* With's syntax was fixed to match the rest of the code. It's now: (PT)
|
|
|
|
(with [name context-managed-fn] BODY)
|
|
|
|
(with [context-managed-fn] BODY)
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
[ Language Changes ]
|
|
|
|
|
2013-04-08 00:18:02 +02:00
|
|
|
* Added `and' and `or' (GN)
|
2013-04-07 21:07:24 +02:00
|
|
|
* Added the tail threading macro (->>) (PT)
|
2013-04-07 18:47:07 +02:00
|
|
|
* UTF encoded symbols are allowed, but mangled. All Hy source is now
|
|
|
|
presumed to be UTF-8. (JD + PT)
|
|
|
|
* Better builtin signature checking (JD)
|
|
|
|
* If hoisting (for things like printing the return of an if statement)
|
2013-04-07 19:24:46 +02:00
|
|
|
have been added. '(print (if true true true))' (PT)
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
[ Documentation ]
|
|
|
|
|
2013-04-07 19:24:46 +02:00
|
|
|
* Initial documentation added to the source tree. (PT)
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
Changes from Hy 0.9.3
|
|
|
|
|
|
|
|
[ Syntax Fixes ]
|
2013-04-07 19:03:45 +02:00
|
|
|
|
|
|
|
* Nested (do) expressions no longer break Hy (PT)
|
|
|
|
* `progn' is now a valid alias for `do' (PT)
|
|
|
|
* `defun' is now a valid alias for `defn' (PT)
|
|
|
|
* Added two new escapes for \ and " (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
[ Language Changes ]
|
2013-04-07 19:03:45 +02:00
|
|
|
|
|
|
|
* Show a traceback when a compile-error bubbles up in the Hy REPL (PT)
|
|
|
|
* `setf' / `setv' added, the behavior of `def` may change in the future.
|
|
|
|
* `print' no longer breaks in Python 3.x (PT)
|
|
|
|
* Added `list-comp' list comprehensions. (PT)
|
|
|
|
* Function hoisting (for things like inline invocation of functions,
|
|
|
|
e.g. '((fn [] (print "hi!")))' has been added. (PT)
|
2013-04-07 20:32:47 +02:00
|
|
|
* `while' form added. (ND)
|
|
|
|
(while [CONDITIONAL] BODY)
|
2013-04-07 19:03:45 +02:00
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
[ Documentation ]
|
|
|
|
|
2013-04-07 19:03:45 +02:00
|
|
|
* Initial docs added. (WKG + CW)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
Changes from Hy 0.9.2
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
[ General Enhancements ]
|
|
|
|
|
|
|
|
* hy.__main__ added, `python -m hy' will now allow a hy shim into existing
|
|
|
|
Python scripts. (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
[ Language Changes ]
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
* `import-as' added to allow for importing modules. (Amrut Joshi)
|
|
|
|
* `slice' added to slice up arrays. (PT)
|
|
|
|
* `with-as' added to allow for context managed bits. (PT)
|
|
|
|
* `%' added to do Modulo. (PT)
|
|
|
|
* Tuples added with the '(, foo bar)' syntax. (PT)
|
|
|
|
* `car' / `first' added. (PT)
|
|
|
|
* `cdr' / `rest' added. (PT)
|
|
|
|
* hy --> .pyc compiler added. (PT)
|
|
|
|
* Completer added for the REPL Readline autocompletion. (PT)
|
|
|
|
* Merge the `meth' macros into hy.contrib. (PT)
|
|
|
|
* Changed __repr__ to match Hy source conventions. (PT)
|
|
|
|
* 2.6 support restored. (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
Changes from Hy 0.9.1
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
[ General Enhancements ]
|
|
|
|
|
|
|
|
* Hy REPL added. (PT)
|
|
|
|
* Doc templates added. (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
[ Language Changes ]
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
* Add `pass' (PT)
|
|
|
|
* Add `yield' (PT)
|
|
|
|
* Moved `for' to a macro, and move `foreach' to old `for'. (PT)
|
|
|
|
* Add the threading macro (`->'). (PT)
|
|
|
|
* Add "earmufs" in. (tenach)
|
|
|
|
* Add comments in (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
Changes from Hy 0.9.0
|
|
|
|
|
|
|
|
[ Language Changes ]
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
* Add `throw' (PT)
|
|
|
|
* Add `try' (PT)
|
|
|
|
* add `catch' (PT)
|
|
|
|
|
2013-04-07 18:47:07 +02:00
|
|
|
|
|
|
|
Changes from Hy 0.8.2
|
|
|
|
|
2013-04-07 19:24:19 +02:00
|
|
|
[ Notes ]
|
|
|
|
|
|
|
|
* Complete rewrite of old-hy. (PT)
|