Skip to content

Commit e66ef69

Browse files
committed
Get ready for release 1.1.2
1 parent 53afb89 commit e66ef69

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

CHANGES.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
CHANGES
22
=======
33

4+
1.1.2
5+
-----
6+
7+
Release 1.1.1 introduced a small bad interaction with Mathics and the
8+
unicode infix form of ``Function[]``.
9+
10+
In our master table, when there is a unicode operator like there is for "Function",
11+
(uF4A1), the operator name to be YAML key name.
12+
13+
There is an alternate ASCII Function operator ``&``. And for that we
14+
used the name Function which precluded using it for the unicode, where
15+
it is mandiatory. For ASCII operators it isn't necessary, but still
16+
nice to do when there is no conflict.
17+
418
1.1.1
519
-----
620

mathics_scanner/data/named-characters.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3475,15 +3475,13 @@ FreakedSmiley:
34753475
# IMPORTANT!
34763476
# ----------
34773477
# For the Mathics Parser to work circa 2021...
3478-
# If an operator name like "Function" has unicode associated with it, then
3479-
# the YAML key *has* to be the operator name.
3480-
# This is because we are doing weird Function-name to unicode translation
3481-
# in the parse.
3478+
# If there is a unicode operator, as we have here for "Function", then
3479+
# the YAML key *has* to be the operator name. ("Function" here).
34823480
#
3483-
# The auto-unicode translation might not be a good thing to do.
3484-
#
3485-
# The ASCII-only version of the Function operator therefore has a
3486-
# different (from the operator) YAML key name.
3481+
# There is an ASCII operator "&" for the Function as well, but
3482+
# the YAML name doesn't have to match since there is just ASCII for that.
3483+
# Since we use the name Function as the key here, the YAML name for "&" has
3484+
# to be different, since YAML keys need to be unique.
34873485
Function:
34883486
ascii: "|->"
34893487
has-unicode-inverse: false

mathics_scanner/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# This file is suitable for sourcing inside POSIX shell as
55
# well as importing into Python. That's why there is no
66
# space around "=" below.
7-
__version__="1.1.2.dev0" # noqa
7+
__version__="1.1.2" # noqa

0 commit comments

Comments
 (0)