File tree Expand file tree Collapse file tree 6 files changed +27
-7
lines changed
Expand file tree Collapse file tree 6 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 11CHANGES
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+
4161.0.0
517-----
618
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
77fi
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 '
Original file line number Diff line number Diff 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 "-"
124124AliasDelimiter :
125125 has-unicode-inverse : false
126126 is-letter-like : false
Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments