head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.9.0.2
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.8.0.6
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.4
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.2
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.7.0.8
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.7.0.6
	pkgsrc-2024Q4-base:1.7
	pkgsrc-2024Q3:1.7.0.4
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.2
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.6.0.12
	pkgsrc-2024Q1-base:1.6
	pkgsrc-2023Q4:1.6.0.10
	pkgsrc-2023Q4-base:1.6
	pkgsrc-2023Q3:1.6.0.8
	pkgsrc-2023Q3-base:1.6
	pkgsrc-2023Q2:1.6.0.6
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.6.0.4
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.2
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.5.0.14
	pkgsrc-2022Q3-base:1.5
	pkgsrc-2022Q2:1.5.0.12
	pkgsrc-2022Q2-base:1.5
	pkgsrc-2022Q1:1.5.0.10
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.5.0.8
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.5.0.6
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.5.0.4
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.2
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.4.0.8
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.6
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.4
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.2
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.3.0.20
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.3.0.16
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.3.0.14
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.12
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.3.0.10
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.3.0.8
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.3.0.6
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.4
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.3.0.2
	pkgsrc-2017Q4-base:1.3
	pkgsrc-2017Q3:1.2.0.26
	pkgsrc-2017Q3-base:1.2
	pkgsrc-2017Q2:1.2.0.22
	pkgsrc-2017Q2-base:1.2
	pkgsrc-2017Q1:1.2.0.20
	pkgsrc-2017Q1-base:1.2
	pkgsrc-2016Q4:1.2.0.18
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.16
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.2.0.14
	pkgsrc-2016Q2-base:1.2
	pkgsrc-2016Q1:1.2.0.12
	pkgsrc-2016Q1-base:1.2
	pkgsrc-2015Q4:1.2.0.10
	pkgsrc-2015Q4-base:1.2
	pkgsrc-2015Q3:1.2.0.8
	pkgsrc-2015Q3-base:1.2
	pkgsrc-2015Q2:1.2.0.6
	pkgsrc-2015Q2-base:1.2
	pkgsrc-2015Q1:1.2.0.4
	pkgsrc-2015Q1-base:1.2
	pkgsrc-2014Q4:1.2.0.2
	pkgsrc-2014Q4-base:1.2
	pkgsrc-2014Q3:1.1.0.4
	pkgsrc-2014Q3-base:1.1
	pkgsrc-2014Q2:1.1.0.2
	pkgsrc-2014Q2-base:1.1;
locks; strict;
comment	@# @;


1.10
date	2026.04.27.10.22.49;	author wiz;	state Exp;
branches;
next	1.9;
commitid	CCnnoPsICdgAfADG;

1.9
date	2026.01.14.18.51.59;	author adam;	state Exp;
branches;
next	1.8;
commitid	VkaesBv6aNVynoqG;

1.8
date	2025.04.14.10.04.42;	author adam;	state Exp;
branches;
next	1.7;
commitid	AVrcJFCWtYxOi0RF;

1.7
date	2024.06.10.05.56.53;	author adam;	state Exp;
branches;
next	1.6;
commitid	bqwrOBwgYqRyPodF;

1.6
date	2022.11.26.19.53.38;	author adam;	state Exp;
branches;
next	1.5;
commitid	GwDFpkiGYzJzwf3E;

1.5
date	2021.03.20.19.14.57;	author adam;	state Exp;
branches;
next	1.4;
commitid	r84aDGqmWnvT65MC;

1.4
date	2020.03.27.15.27.41;	author adam;	state Exp;
branches;
next	1.3;
commitid	T42wQIC45Dd7m32C;

1.3
date	2017.12.18.12.48.46;	author adam;	state Exp;
branches;
next	1.2;
commitid	o8fBcl5KxxiQ9njA;

1.2
date	2014.11.09.19.31.56;	author rodent;	state Exp;
branches;
next	1.1;
commitid	fB3b8wVYWBV7SxXx;

1.1
date	2014.05.18.03.32.16;	author rodent;	state Exp;
branches;
next	;
commitid	jkXneOPVx4HTbYAx;


desc
@@


1.10
log
@py-hy: remove .pyc files for .hy (not .py) from PLIST

Not created (any longer?)

Bump PKGREVISION.
@
text
@@@comment $NetBSD$
bin/hy-${PYVERSSUFFIX}
bin/hy2py-${PYVERSSUFFIX}
bin/hyc-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/hy/__init__.py
${PYSITELIB}/hy/__init__.pyc
${PYSITELIB}/hy/__init__.pyo
${PYSITELIB}/hy/__main__.py
${PYSITELIB}/hy/__main__.pyc
${PYSITELIB}/hy/__main__.pyo
${PYSITELIB}/hy/cmdline.py
${PYSITELIB}/hy/cmdline.pyc
${PYSITELIB}/hy/cmdline.pyo
${PYSITELIB}/hy/compat.py
${PYSITELIB}/hy/compat.pyc
${PYSITELIB}/hy/compat.pyo
${PYSITELIB}/hy/compiler.py
${PYSITELIB}/hy/compiler.pyc
${PYSITELIB}/hy/compiler.pyo
${PYSITELIB}/hy/completer.py
${PYSITELIB}/hy/completer.pyc
${PYSITELIB}/hy/completer.pyo
${PYSITELIB}/hy/core/__init__.py
${PYSITELIB}/hy/core/__init__.pyc
${PYSITELIB}/hy/core/__init__.pyo
${PYSITELIB}/hy/core/hy_repr.hy
${PYSITELIB}/hy/core/macros.hy
${PYSITELIB}/hy/core/result_macros.py
${PYSITELIB}/hy/core/result_macros.pyc
${PYSITELIB}/hy/core/result_macros.pyo
${PYSITELIB}/hy/core/util.hy
${PYSITELIB}/hy/errors.py
${PYSITELIB}/hy/errors.pyc
${PYSITELIB}/hy/errors.pyo
${PYSITELIB}/hy/hy_inspect.py
${PYSITELIB}/hy/hy_inspect.pyc
${PYSITELIB}/hy/hy_inspect.pyo
${PYSITELIB}/hy/importer.py
${PYSITELIB}/hy/importer.pyc
${PYSITELIB}/hy/importer.pyo
${PYSITELIB}/hy/macros.py
${PYSITELIB}/hy/macros.pyc
${PYSITELIB}/hy/macros.pyo
${PYSITELIB}/hy/model_patterns.py
${PYSITELIB}/hy/model_patterns.pyc
${PYSITELIB}/hy/model_patterns.pyo
${PYSITELIB}/hy/models.py
${PYSITELIB}/hy/models.pyc
${PYSITELIB}/hy/models.pyo
${PYSITELIB}/hy/pyops.hy
${PYSITELIB}/hy/reader/__init__.py
${PYSITELIB}/hy/reader/__init__.pyc
${PYSITELIB}/hy/reader/__init__.pyo
${PYSITELIB}/hy/reader/exceptions.py
${PYSITELIB}/hy/reader/exceptions.pyc
${PYSITELIB}/hy/reader/exceptions.pyo
${PYSITELIB}/hy/reader/hy_reader.py
${PYSITELIB}/hy/reader/hy_reader.pyc
${PYSITELIB}/hy/reader/hy_reader.pyo
${PYSITELIB}/hy/reader/mangling.py
${PYSITELIB}/hy/reader/mangling.pyc
${PYSITELIB}/hy/reader/mangling.pyo
${PYSITELIB}/hy/reader/reader.py
${PYSITELIB}/hy/reader/reader.pyc
${PYSITELIB}/hy/reader/reader.pyo
${PYSITELIB}/hy/repl.py
${PYSITELIB}/hy/repl.pyc
${PYSITELIB}/hy/repl.pyo
${PYSITELIB}/hy/scoping.py
${PYSITELIB}/hy/scoping.pyc
${PYSITELIB}/hy/scoping.pyo
@


1.9
log
@py-hy: updated to 1.2.0

1.2.0 ("Crackers and Snacks", released 2026-01-14)

Supports Python 3.9 – Python 3.14

New Features

* `setv` now supports chained assignment with `:chain`.
* Several functions in the standard `inspect` module have been
  monkey-patched to work better with Hy code: `findsource`,
  `getcomments`, `getfile`, `getsource`, `getsourcelines`.

  * As a result, the `ll` command in `pdb` should now show a more
    useful result in more cases.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.8 2025/04/14 10:04:42 adam Exp $
a33 1
${PYSITELIB}/hy/core/hy_repr.pyc
a34 1
${PYSITELIB}/hy/core/macros.pyc
a38 1
${PYSITELIB}/hy/core/util.pyc
a57 1
${PYSITELIB}/hy/pyops.pyc
@


1.8
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.7 2024/06/10 05:56:53 adam Exp $
d45 3
@


1.7
log
@py-hy: updated to 0.29.0

0.29.0 (released 2024-05-20)
=============================

Removals
------------------------------
* `hy.disassemble` has been removed.
* `(defn/a …)` is now `(defn :async …)`.
* `(fn/a …)` is now `(fn :async …)`.
* `(with/a […] …)` is now `(with [:async …] …)`.

   * As with `for`, `:async` must precede each name to be bound
     asynchronously, because you can mix synchronous and asynchronous
     types.

* `(yield-from …)` is now `(yield :from …)`.

New Features
------------------------------
* You can now set `repl-ps1` and `repl-ps2` in your `HYSTARTUP` to customize
  `sys.ps1` and `sys.ps2` for the Hy REPL.

Bug Fixes
------------------------------
* Tracebacks now point to the correct code in more cases.
* `help` should no longer crash when objects are missing docstrings.
* `hy -i < script.hy` now executes `script.hy` inside the REPL environment,
  like Python.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.6 2022/11/26 19:53:38 adam Exp $
a4 2
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
d9 2
@


1.6
log
@py-hy: updated to 0.25.0

0.25.0 (released 2022-11-08)
==============================

Breaking Changes
------------------------------
* `dfor` no longer requires brackets around its final arguments, so
  `(dfor x (range 5) [x (* 2 x)])` is now `(dfor x (range 5) x (* 2
  x))`.
* `except*` (PEP 654) is now recognized in `try`, and a placeholder
  macro for `except*` has been added.

Bug Fixes
------------------------------
* `__file__` should now be set the same way as in Python.
* `\N{…}` escape sequences are now recognized in f-strings.
* Fixed a bug with `python -O` where assertions were still partly
  evaluated.
* Fixed `hy.repr` of `slice` objects with non-integer arguments.

New Features
------------------------------
* Python 3.11 is now supported.

Misc. Improvements
------------------------------
* `hyc` now requires a command-line argument.
* `hyc` prints each path it writes bytecode to, and its messages now
  go to standard error instead of standard output.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.5 2021/03/20 19:14:57 adam Exp $
d5 7
a11 6
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
a17 3
${PYSITELIB}/hy/_compat.py
${PYSITELIB}/hy/_compat.pyc
${PYSITELIB}/hy/_compat.pyo
d21 3
d74 3
a76 2
${PYSITELIB}/hy/reserved.hy
${PYSITELIB}/hy/reserved.pyc
a79 3
${PYSITELIB}/hy/version.py
${PYSITELIB}/hy/version.pyc
${PYSITELIB}/hy/version.pyo
@


1.5
log
@py-hy: updated to 0.20.0

0.20.0 (released 2021-01-25)
==============================

Removals
------------------------------
* Python 3.5 is no longer supported.

New Features
------------------------------
* `let` macro now supports extended iterable unpacking syntax.
* New contrib module `pprint`, a Hy equivalent of `python.pprint`.

Bug Fixes
------------------------------
* Fixed a bug that made `hy.eval` from Python fail on `require`.
* Fixed a bug that prevented pickling of keyword objects.
* Fixed a compiler crash from `setv` with an odd number of arguments in
  `defclass`.

0.19.0 (released 2020-07-16)
==============================

Breaking Changes
------------------------------
* `parse-args` is no longer implemented with `eval`; so e.g. you should
  now say `:type int` instead of `:type 'int`.

New Features
------------------------------
* Python 3.9 is now supported.

Bug Fixes
------------------------------
* Improved support for nesting anaphoric macros by only applying
  symbol replacement where absolutely necessary.
* Quoted f-strings are no longer evaluated prematurely.
* Fixed a regression in the production of error messages for empty
  expressions.
* Fixed a scoping bug for code executed with `hy -c`.
* Fixed a bug in the compilation of multiple `require`\s.
* Fixed various bugs in command-line option parsing.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2020/03/27 15:27:41 adam Exp $
a28 10
${PYSITELIB}/hy/contrib/__init__.py
${PYSITELIB}/hy/contrib/__init__.pyc
${PYSITELIB}/hy/contrib/__init__.pyo
${PYSITELIB}/hy/contrib/botsbuildbots.hy
${PYSITELIB}/hy/contrib/hy_repr.hy
${PYSITELIB}/hy/contrib/loop.hy
${PYSITELIB}/hy/contrib/pprint.hy
${PYSITELIB}/hy/contrib/profile.hy
${PYSITELIB}/hy/contrib/sequences.hy
${PYSITELIB}/hy/contrib/walk.hy
d32 2
a33 2
${PYSITELIB}/hy/core/bootstrap.hy
${PYSITELIB}/hy/core/language.hy
d35 6
a40 1
${PYSITELIB}/hy/core/shadow.hy
a43 5
${PYSITELIB}/hy/extra/__init__.py
${PYSITELIB}/hy/extra/__init__.pyc
${PYSITELIB}/hy/extra/__init__.pyo
${PYSITELIB}/hy/extra/anaphoric.hy
${PYSITELIB}/hy/extra/reserved.hy
a46 12
${PYSITELIB}/hy/lex/__init__.py
${PYSITELIB}/hy/lex/__init__.pyc
${PYSITELIB}/hy/lex/__init__.pyo
${PYSITELIB}/hy/lex/exceptions.py
${PYSITELIB}/hy/lex/exceptions.pyc
${PYSITELIB}/hy/lex/exceptions.pyo
${PYSITELIB}/hy/lex/lexer.py
${PYSITELIB}/hy/lex/lexer.pyc
${PYSITELIB}/hy/lex/lexer.pyo
${PYSITELIB}/hy/lex/parser.py
${PYSITELIB}/hy/lex/parser.pyc
${PYSITELIB}/hy/lex/parser.pyo
d56 22
@


1.4
log
@py-hy: updated to 0.18.0

0.18.0
==============================

Removals
------------------------------
* Python 2 is no longer supported.
* Support for attribute lists in `defclass` has been removed. Use `setv`
  and `defn` instead.
* Literal keywords are no longer parsed differently in calls to functions
  with certain names.
* `hy.contrib.multi` has been removed. Use `cond` or the PyPI package
  `multipledispatch` instead.

Other Breaking Changes
------------------------------
* `HySequence` is now a subclass of `tuple` instead of `list`.
  Thus, a `HyList` will never be equal to a `list`, and you can't
  use `.append`, `.pop`, etc. on a `HyExpression` or `HyList`.

New Features
------------------------------
* Added special forms `py` to `pys` that allow Hy programs to include
  inline Python code.
* Added a special form `cmp` for chained comparisons.
* All augmented assignment operators (except `%=` and `^=`) now allow
  more than two arguments.
* Added support for function annotations (PEP 3107) and variable
  annotations (PEP 526).
* Added a function `parse-args` as a wrapper for Python's `argparse`.

Bug Fixes
------------------------------
* Statements in the second argument of `assert` are now executed.
* Fixed a bug that caused the condition of a `while` to be compiled
  twice.
* `in` and `not-in` now allow more than two arguments, as in Python.
* `hy2py` can now handle format strings.
* Fixed crashes from inaccessible history files.
* Removed an accidental import from the internal Python module `test`.
* Fixed a swarm of bugs in `hy.extra.anaphoric`.

Misc. Improvements
------------------------------
* Replaced the dependency `clint` with `colorama`.

0.17.0
==============================

**Warning**: Hy 0.17.x will be the last Hy versions to support Python 2,
and we expect 0.17.0 to be the only release in this line. By the time
0.18.0 is released (in 2020, after CPython 2 has ceased being developed),
Hy will only support Python 3.

Removals
------------------------------
* Python 3.4 is no longer supported.

New Features
------------------------------
* Python 3.8 is now supported.
* Format strings with embedded Hy code (e.g., `f"The sum is {(+ x y)}"`)
  are now supported, even on Pythons earlier than 3.6.
* Added a special form `setx` to create Python 3.8 assignment expressions.
* Added new core functions `list?` and `tuple`.
* Gensyms now have a simpler format that's more concise when
  mangled (e.g., `_hyx_XsemicolonXfooXvertical_lineX1235` is now
  `_hyx_fooXUffffX1`).

Bug Fixes
------------------------------
* Fixed a crash caused by errors creating temporary files during
  bytecode compilation.

0.16.0
==============================

Removals
------------------------------
* Empty expressions (`()`) are no longer legal at the top level.

New Features
------------------------------
* `eval` / `hy_eval` and `hy_compile` now accept an optional `compiler`
  argument that enables the use of an existing `HyASTCompiler` instance.
* Keyword objects (not just literal keywords) can be called, as
  shorthand for `(get obj :key)`, and they accept a default value
  as a second argument.
* Minimal macro expansion namespacing has been implemented. As a result,
  external macros no longer have to `require` their own macro
  dependencies.
* Macros and tags now reside in module-level `__macros__` and `__tags__`
  attributes.

Bug Fixes
------------------------------
* Cleaned up syntax and compiler errors.
* You can now call `defmain` with an empty lambda list.
* `require` now compiles to Python AST.
* Fixed circular `require`\s.
* Fixed module reloading.
* Fixed circular imports.
* Fixed errors from `from __future__ import ...` statements and missing
  Hy module docstrings caused by automatic importing of Hy builtins.
* Fixed `__main__` file execution.
* Fixed bugs in the handling of unpacking forms in method calls and
  attribute access.
* Fixed crashes on Windows when calling `hy-repr` on date and time
  objects.
* Fixed a crash in `mangle` for some pathological inputs.
* Fixed incorrect mangling of some characters at low code points.
* Fixed a crash on certain versions of Python 2 due to changes in the
  standard module `tokenize`.

0.15.0
==============================

Removals
------------------------------
* Dotted lists, `HyCons`, `cons`, `cons?`, and `list*` have been
  removed. These were redundant with Python's built-in data structures
  and Hy's most common model types (`HyExpression`, `HyList`, etc.).
* `&key` is no longer special in lambda lists. Use `&optional` instead.
* Lambda lists can no longer unpack tuples.
* `ap-pipe` and `ap-compose` have been removed. Use threading macros and
  `comp` instead.
* `for/a` has been removed. Use `(for [:async ...] ...)` instead.
* `(except)` is no longer allowed. Use `(except [])` instead.
* `(import [foo])` is no longer allowed. Use `(import foo)` instead.

Other Breaking Changes
------------------------------
* `HyExpression`, `HyDict`, and `HySet` no longer inherit from `HyList`.
  This means you can no longer use alternative punctuation in place of
  square brackets in special forms (e.g. `(fn (x) ...)` instead of
  the standard `(fn [x] ...)`).
* Mangling rules have been overhauled; now, mangled names are
  always legal Python identifiers.
* `_` and `-` are now equivalent, even as single-character names.

  * The REPL history variable `_` is now `*1`.

* Non-shadow unary `=`, `is`, `<`, etc. now evaluate their argument
  instead of ignoring it.
* `list-comp`, `set-comp`, `dict-comp`, and `genexpr` have been replaced
  by `lfor`, `sfor`, `dfor`, and `gfor`, respectively, which use a new
  syntax and have additional features. All Python comprehensions can now
  be written in Hy.
* `&`-parameters in lambda lists must now appear in the same order that
  Python expects.
* Literal keywords now evaluate to themselves, and `HyKeyword` no longer
  inherits from a Python string type
* `HySymbol` no longer inherits from `HyString`.

New Features
------------------------------
* Python 3.7 is now supported.
* `while` and `for` are allowed to have empty bodies.
* `for` supports the various new clause types offered by `lfor`.
* `defclass` in Python 3 supports specifying metaclasses and other
  keyword arguments.
* Added `mangle` and `unmangle` as core functions.
* Added more REPL history variables: `*2` and `*3`.
* Added a REPL variable holding the last exception: `*e`.
* Added a command-line option `-E` per CPython.
* Added a new module `hy.model_patterns`.

Bug Fixes
------------------------------
* `hy2py` should now output legal Python code equivalent to the input Hy
  code in all cases.
* Fixed `(return)` so it can exit a Python 2 generator.
* Fixed a case where `->` and `->>` duplicated an argument.
* Fixed bugs that caused `defclass` to drop statements or crash.
* Fixed a REPL crash caused by illegal backslash escapes.
* `NaN` can no longer create an infinite loop during macro-expansion.
* Fixed a bug that caused `try` to drop expressions.
* The compiler now properly recognizes `unquote-splice`.
* Trying to import a dotted name is now a syntax error, as in Python.
* `defmacro!` now allows optional arguments.
* Fixed handling of variables that are bound multiple times in a single
  `let`.

Misc. Improvements
----------------------------
* `hy-repr` uses registered functions instead of methods.
* `hy-repr` supports more standard types.
* `macroexpand-all` will now expand macros introduced by a `require` in the body of a macro.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.3 2017/12/18 12:48:46 adam Exp $
d35 1
@


1.3
log
@py-hy: updated to 0.13.0

Changes 0.13.1:

[ Language Changes ]
* Pythons 2.6, 3.0, 3.1, and 3.2 are no longer supported
* let has been removed. Python's scoping rules do not make a proper
  implementation of it possible. Use setv instead.
* lambda has been removed, but fn now does exactly what lambda did
* defreader has been renamed to defsharp; what were previously called
  "reader macros", which were never true reader macros, are now called
  "sharp macros"
* try now enforces the usual Python order for its elements (else must
  follow all excepts, and finally must come last). This is only a
  syntactic change; the elements were already run in Python order even when
  defined out of order.
* try now requires an except or finally clause, as in Python
* Importing or executing a Hy file automatically byte-compiles it, or loads
  a byte-compiled version if it exists and is up to date. This brings big
  speed boosts, even for one-liners, because Hy no longer needs to recompile
  its standard library for every startup.
* Added bytestring literals, which create bytes objects under Python 3
  and str objects under Python 2
* Commas and underscores are allowed in numeric literals
* Many more operators (e.g., **, //, not, in) can be used
  as first-class functions
* The semantics of binary operators when applied to fewer or more
  than two arguments have been made more logical
* (** a b c d) is now equivalent to (** a (** b (** c d))),
  not (** (** (** a b) c) d)
* setv always returns None
* When a try form executes an else clause, the return value for the
  try form is taken from else instead of the try body. For example,
  (try 1 (except [ValueError] 2) (else 3)) returns 3.
* xor: If exactly one argument is true, return it
* hy.core.reserved is now hy.extra.reserved
* cond now supports single argument branches

[ Bug Fixes ]
* All shadowed operators have the same arities as real operators
* Shadowed comparison operators now use and instead of &
  for chained comparisons
* partition no longer prematurely exhausts input iterators
* read and read-str no longer raise an error when the input
  parses to a false value (e.g., the empty string)
* A yield inside of a with statement will properly suppress implicit
  returns
* setv no longer unnecessarily tries to get attributes
* loop no longer replaces string literals equal to "recur"
* The REPL now prints the correct value of do and try forms
* Fixed a crash when tokenizing a single quote followed by whitespace

[ Misc. Improvements ]
* New contrib module hy-repr
* Added a command-line option --repl-output-fn
@
text
@d1 4
a4 4
@@comment $NetBSD: PLIST,v 1.2 2014/11/09 19:31:56 rodent Exp $
bin/hy${PYVERSSUFFIX}
bin/hy2py${PYVERSSUFFIX}
bin/hyc${PYVERSSUFFIX}
a32 1
${PLIST.py3x}${PYSITELIB}/hy/contrib/botsbuildbots.pyc
a33 1
${PLIST.py3x}${PYSITELIB}/hy/contrib/hy_repr.pyc
a34 3
${PLIST.py3x}${PYSITELIB}/hy/contrib/loop.pyc
${PYSITELIB}/hy/contrib/multi.hy
${PLIST.py3x}${PYSITELIB}/hy/contrib/multi.pyc
a35 1
${PLIST.py3x}${PYSITELIB}/hy/contrib/profile.pyc
a36 1
${PLIST.py3x}${PYSITELIB}/hy/contrib/sequences.pyc
a37 1
${PLIST.py3x}${PYSITELIB}/hy/contrib/walk.pyc
a41 1
${PLIST.py3x}${PYSITELIB}/hy/core/bootstrap.pyc
a42 1
${PLIST.py3x}${PYSITELIB}/hy/core/language.pyc
a43 1
${PLIST.py3x}${PYSITELIB}/hy/core/macros.pyc
a44 1
${PLIST.py3x}${PYSITELIB}/hy/core/shadow.pyc
a51 1
${PLIST.py3x}${PYSITELIB}/hy/extra/anaphoric.pyc
a52 1
${PLIST.py3x}${PYSITELIB}/hy/extra/reserved.pyc
d71 3
@


1.2
log
@Update to 0.10.1. No ChangeLog found. Move hy2py to hy2py${PYVERSSUFFIX} in
post-install and add to ALTERNATIVES.
@
text
@d1 1
a1 1
@@comment $NetBSD$
d32 4
a35 5
${PYSITELIB}/hy/contrib/anaphoric.hy
${PYSITELIB}/hy/contrib/curry.hy
${PYSITELIB}/hy/contrib/dispatch/__init__.py
${PYSITELIB}/hy/contrib/dispatch/__init__.pyc
${PYSITELIB}/hy/contrib/dispatch/__init__.pyo
d37 1
a37 1
${PYSITELIB}/hy/contrib/meth.hy
d39 1
d41 3
d45 1
d50 1
d52 1
d54 1
d56 1
d60 7
d85 3
a87 33
${PYSITELIB}/hy/models/__init__.py
${PYSITELIB}/hy/models/__init__.pyc
${PYSITELIB}/hy/models/__init__.pyo
${PYSITELIB}/hy/models/complex.py
${PYSITELIB}/hy/models/complex.pyc
${PYSITELIB}/hy/models/complex.pyo
${PYSITELIB}/hy/models/cons.py
${PYSITELIB}/hy/models/cons.pyc
${PYSITELIB}/hy/models/cons.pyo
${PYSITELIB}/hy/models/dict.py
${PYSITELIB}/hy/models/dict.pyc
${PYSITELIB}/hy/models/dict.pyo
${PYSITELIB}/hy/models/expression.py
${PYSITELIB}/hy/models/expression.pyc
${PYSITELIB}/hy/models/expression.pyo
${PYSITELIB}/hy/models/float.py
${PYSITELIB}/hy/models/float.pyc
${PYSITELIB}/hy/models/float.pyo
${PYSITELIB}/hy/models/integer.py
${PYSITELIB}/hy/models/integer.pyc
${PYSITELIB}/hy/models/integer.pyo
${PYSITELIB}/hy/models/keyword.py
${PYSITELIB}/hy/models/keyword.pyc
${PYSITELIB}/hy/models/keyword.pyo
${PYSITELIB}/hy/models/list.py
${PYSITELIB}/hy/models/list.pyc
${PYSITELIB}/hy/models/list.pyo
${PYSITELIB}/hy/models/string.py
${PYSITELIB}/hy/models/string.pyc
${PYSITELIB}/hy/models/string.pyo
${PYSITELIB}/hy/models/symbol.py
${PYSITELIB}/hy/models/symbol.pyc
${PYSITELIB}/hy/models/symbol.pyo
@


1.1
log
@Import py27-hy-0.10.0 as lang/py-hy.

Hy is a Python <--> Lisp layer. It helps make things work nicer, and lets Python
and the Hy lisp variant play nice together.
@
text
@d3 1
d48 1
a93 3
${PYSITELIB}/hy/models/lambdalist.py
${PYSITELIB}/hy/models/lambdalist.pyc
${PYSITELIB}/hy/models/lambdalist.pyo
@

