Skip to content

Commit 25a2b51

Browse files
committed
Get ready for release 1.1.0
1 parent a0aad4f commit 25a2b51

File tree

6 files changed

+27
-7
lines changed

6 files changed

+27
-7
lines changed

CHANGES.rst

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

4+
1.1.0
5+
-----
6+
7+
* Add operator-name, and ascii fields. See named-characters.yml for a description of these
8+
* Add some whitespace characters like IndentingNewLine and RawReadLine
9+
* Improve testing
10+
* Fix some small tagging based on testing
11+
* Add unicode-to-operator generation
12+
13+
Note: not all operators have been tagged, so expect another release soon when that's done.
14+
15+
416
1.0.0
517
-----
618

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Mathics is released under the GNU General Public License Version 3 (GPL3).
5656
.. |Workflows| image:: https://github.com/Mathics3/mathics-scanner/workflows/Mathics%20(ubuntu)/badge.svg
5757
.. |Packaging status| image:: https://repology.org/badge/vertical-allrepos/mathics-scanner.svg
5858
:target: https://repology.org/project/mathics-scanner/versions
59-
.. |Latest Version| image:: https://badge.fury.io/py/mathics-scanner.svg
60-
:target: https://badge.fury.io/py/mathics-scanner
61-
.. |Pypi Installs| image:: https://pepy.tech/badge/mathics-scanner
62-
.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/mathics-scanner.svg
59+
.. |Latest Version| image:: https://badge.fury.io/py/Mathics-Scanner.svg
60+
:target: https://badge.fury.io/py/Mathics-Scanner
61+
.. |Pypi Installs| image:: https://pepy.tech/badge/Mathics-Scanner
62+
.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/Mathics-Scanner.svg

admin-tools/pyenv-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55
echo "This script should be *sourced* rather than run directly through bash"
66
exit 1
77
fi
8-
export PYVERSIONS='3.6.12 3.7.9 3.8.7 3.9.1'
8+
export PYVERSIONS='3.6.13 3.7.10 3.8.8 3.9.2'

mathics_scanner/data/named-characters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Aleph:
120120
unicode-equivalent-name: ALEF SYMBOL
121121
wl-unicode: "\u2135"
122122
wl-unicode-name: ALEF SYMBOL
123-
# Note: the unicode ofr AliasDelimiter doesn't look like "-"
123+
# Note: the unicode for AliasDelimiter doesn't look like "-"
124124
AliasDelimiter:
125125
has-unicode-inverse: false
126126
is-letter-like: false

mathics_scanner/generate/build_tables.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,18 @@ def compile_tables(data: dict) -> dict:
140140
if "operator-name" in v and "unicode-equivalent" in v
141141
}
142142

143+
# operator-to-unicode dictionary
144+
unicode_to_operator = {
145+
v["unicode-equivalent"]: v["operator-name"]
146+
for k, v in data.items()
147+
if "operator-name" in v and "unicode-equivalent" in v
148+
}
143149
return {
144150
"aliased-characters": aliased_characters,
145151
"letterlikes": letterlikes,
146152
"named-characters": named_characters,
147153
"operator-to-unicode": operator_to_unicode,
154+
"unicode-to-operator": operator_to_unicode,
148155
"unicode-to-wl-dict": unicode_to_wl_dict,
149156
"unicode-to-wl-re": unicode_to_wl_re,
150157
"wl-to-ascii-dict": wl_to_ascii_dict,
@@ -161,6 +168,7 @@ def compile_tables(data: dict) -> dict:
161168
"letterlikes",
162169
"named-characters",
163170
"operator-to-unicode",
171+
"unicode-to-operator",
164172
"unicode-to-wl-dict",
165173
"unicode-to-wl-re",
166174
"wl-to-ascii-dict",

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.0.1.dev0" # noqa
7+
__version__="1.1.0" # noqa

0 commit comments

Comments
 (0)