-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathChangeLog-spell-corrected.diff
More file actions
298 lines (224 loc) · 16.2 KB
/
ChangeLog-spell-corrected.diff
File metadata and controls
298 lines (224 loc) · 16.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
--- ChangeLog 2025-07-19 07:46:19.874915459 -0400
+++ ChangeLog-spell-corrected 2025-07-19 07:45:31.721848808 -0400
@@ -51,7 +51,7 @@
Tokenizer.get_more_input * Bang more on mathics3-tokens Start to show syntax errors. * Start going over error messages... In particular errors with octal digits and incomplete named errors.
Go over docstrings in escape_sequences.py * Improve error handling... and add more tests. * Improve scanner... named-characters.yml: \[Mu] is letterlike tokeniser.py: Correct
identifier or pattern for those having letterlike escape sequences * Handle EscapSequence errors better * Handle embedded escape sequences in Symbols... and also add Theta to the list of letterlike symbols * WIP - bang on Symbol tokenization with backslash Replace .format() with f-strings. Add comments around Symbol
- pattern. sntx_message() Excpetion now saves name, tag, and args * Be able to whether we are in a RowBox * Handle no-meaning operators Not sure how this worked before, but it did. * WIP misc fixes... * "$\" is a thing * Correct EscapeSyntaxError error message * Better Symbol tokenization for things like a\[Mu]1. More in next commit though. * Better Symbol-name extension test... for things like \.78\.79 Imporve comments around DRYing identifier/symbol_name extension * WIP - small tweaks before moving master forward This PR has gotten out of hand in size, we'll break it up into
+ pattern. sntx_message() Exception now saves name, tag, and args * Be able to whether we are in a RowBox * Handle no-meaning operators Not sure how this worked before, but it did. * WIP misc fixes... * "$\" is a thing * Correct EscapeSyntaxError error message * Better Symbol tokenization for things like a\[Mu]1. More in next commit though. * Better Symbol-name extension test... for things like \.78\.79 Improve comments around DRYing identifier/symbol_name extension * WIP - small tweaks before moving master forward This PR has gotten out of hand in size, we'll break it up into
smaller chunks. * Small bugs related to escape-character handling NamedChracterSyntax should be a new-style TranslateError self.code
-> self.source_text misc sntx_message() fixes. Document better. * Use git branch for testing Mathics * Revise Scanner error exception class TranslateError, TranslateErrorNew, ScanError now become ScannerError * Let's use 3.12 in CI testing it should be just a little bit faster (and it is more modern) * Small tidying changes to comments * ScannerError -> SyntaxError Use more direct and simpler error class name that is is more like
its other subclassed errors. * More tests * One more escape test * Allow escape space "\ " + more string tests * Start unit test for comments * Fix a doc spelling typo + minor doc tweak * invalid escape sequences inside strings... An invalid escape sequence inside a string, like "\(a \+\)" is not
@@ -69,7 +69,7 @@
mathics_scanner/characters.py,
mathics_scanner/data/named-characters.yml,
mathics_scanner/errors.py, mathics_scanner/mathics3_tokens.py,
- mathics_scanner/prescanner.py, mathics_scanner/tokeniser.py:
+ mathics_scanner/prescanner.py, mathics_scanner/tokeniser.py:
Preparatory changes for prescanner removal (#127) To handle escape sequences better, such as ignoring them in
comments, branch revise-escape-sequence-scanning was started as more
major refactor. However, that has become too large and is too hard to get right.
@@ -156,7 +156,7 @@
2025-01-18 R. Bernstein <rocky@users.noreply.github.com>
* mathics_scanner/mathics3_tokens.py, mathics_scanner/tokeniser.py,
- pyproject.toml, test/test_codetokenize.py, test/test_tokeniser.py:
+ pyproject.toml, test/test_codetokenize.py, test/test_tokeniser.py:
Add mathics tokens cli (#115) * command-line routine showing Mathics3 tokenization * Add --CodeTokenize option . Option --CodeTokenize (-C) on
mathics3-tokens shows tokens more like it is shown in CodeParser's
CodeTokenize. * Remove line number in In[] and Out[]. We don't have a % retrieval
@@ -164,7 +164,7 @@
2025-01-15 R. Bernstein <rocky@users.noreply.github.com>
- * mathics_scanner/data/named-characters.yml: amslatex(Vertial) ->
+ * mathics_scanner/data/named-characters.yml: amslatex(Vertical) ->
\smallmid. more unicod refs.. (#118) Remove note 5 which is was wrong, and probably comes from the days
when I was combining operators with character symbols which is
wrong. Possibly in the future, this will be reworked so Operators (like
@@ -186,7 +186,7 @@
2025-01-08 rocky <rb@dustyfeet.com>
- * mathics_scanner/generate/build_operator_tables.py:
+ * mathics_scanner/generate/build_operator_tables.py:
operator-precedence -> operator-precedences Note: Mathics-core will be broken until this is synchronized.
2025-01-08 rocky <rb@dustyfeet.com>
@@ -205,12 +205,12 @@
test_character_table_consistency.py},
test/test_general_yaml_sanity.py, test/test_operators.py: Add
operator-to-amslatex and builtin-constants... (#114) operator-to-amslatex gives the AMSLaTeX string for unicode operator
- builtin-constants tags characters which are Buitin Symbols that act
+ builtin-constants tags characters which are Builtin Symbols that act
as nullary operators.
2025-01-05 R. Bernstein <rocky@users.noreply.github.com>
- * mathics_scanner/data/operators.yml, mathics_scanner/tokeniser.py:
+ * mathics_scanner/data/operators.yml, mathics_scanner/tokeniser.py:
Correct FractionBox and other small changes (#113)
2025-01-03 R. Bernstein <rocky@users.noreply.github.com>
@@ -253,7 +253,7 @@
2024-12-03 R. Bernstein <rocky@users.noreply.github.com>
* mathics_scanner/data/named-characters.yml,
- mathics_scanner/data/operators.yml, test/test_mathics_precedence.py:
+ mathics_scanner/data/operators.yml, test/test_mathics_precedence.py:
operator tests yet again; update YAML comments... (#106) * Test_mathics_precedence needs not to fail work when mathics is installed. Tweak failure messages * Update comments in character and operators YAML files. * Remove Parse field in operators YML.
2024-12-03 Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
@@ -319,10 +319,10 @@
mathics_scanner/data/operators.yml,
mathics_scanner/generate/operator_csv_to_yml.py,
mathics_scanner/tokeniser.py: tokenizer gets no-meaning infix ops
- from JSON (#87) * tokenizer gets no-meaning infix ops from JSON * Temporily test from operator-info-from-JSON branch * Function unicode change so as not to conflict with RightTeeArrow.
+ from JSON (#87) * tokenizer gets no-meaning infix ops from JSON * Temporally test from operator-info-from-JSON branch * Function unicode change so as not to conflict with RightTeeArrow.
Function unicode is a long arrow. * Remove CSV to YML stuff. CSV is beyond hope of keeping in sync. * Remove tokeniser import from __init__.py. Workaround for now. We
need this so we can create operator JSON without needing the JSON
- table to be prevously around. * Split typing changing variables like tokens and literal_tokens
+ table to be previously around. * Split typing changing variables like tokens and literal_tokens
intoseparate variables for each type they can hold. * Scanner uses operators json mm (#88, #89) * Change initialization of the tokenizer --------- Co-authored-by: Juan Mauricio Matera <matera@fisica.unlp.edu.ar>
2024-11-23 rocky <rb@dustyfeet.com>
@@ -351,7 +351,7 @@
mathics_scanner/generate/build_operator_tables.py,
test/test_operators.py: Include no-meaning operators in JSON op
extraction (#85) Include no-meaning operators in JSON op extraction, separated by
- affix: Infix, Postifx, or Prefix. Also, update "meaningful" field comment at the top of the YAML file. Add a unit test for operator-table consistency.
+ affix: Infix, Postfix, or Prefix. Also, update "meaningful" field comment at the top of the YAML file. Add a unit test for operator-table consistency.
2024-11-18 R. Bernstein <rocky@users.noreply.github.com>
@@ -393,8 +393,8 @@
2024-09-17 R. Bernstein <rocky@users.noreply.github.com>
* mathics_scanner/data/named-characters.yml,
- mathics_scanner/data/operators.yml: Add rljacobson's heursitic on
- Unicode (#78) * Add rljacobson's heursitic on Unicode * Some small corrections
+ mathics_scanner/data/operators.yml: Add rljacobson's heuristic on
+ Unicode (#78) * Add rljacobson's heuristic on Unicode * Some small corrections
2024-09-09 R. Bernstein <rocky@users.noreply.github.com>
@@ -578,7 +578,7 @@
2023-12-17 rocky <rb@dustyfeet.com>
* admin-tools/pyenv-versions,
- mathics_scanner/data/named-characters.yml, test/test_tokeniser.py:
+ mathics_scanner/data/named-characters.yml, test/test_tokeniser.py:
Administrivia: typos and bump versions
2023-08-23 rocky <rb@dustyfeet.com>
@@ -681,7 +681,7 @@
test/test_general_yaml_sanity.py,
test/test_has_unicode_inverse_sanity.py,
test/test_table_consistency.py, test/test_unicode_equivalent.py: Go
- over character tables * Separate entries with a blank line * Remove "unicode-equivalent" when it is the same as "ascii" Because if this wl_to_unicode() nees to pick use "acsii" when
+ over character tables * Separate entries with a blank line * Remove "unicode-equivalent" when it is the same as "ascii" Because if this wl_to_unicode() needs to pick use "ascii" when
"unicode-equivalent" there is no unicode-equivalent, but
has-unicode-inverse is set. * Add test that unicode-equivalent isn't the same things as ascii
@@ -807,7 +807,7 @@
* mathics_scanner/data/named-characters.yml,
mathics_scanner/tokeniser.py: Change the precedence of `|->`
- (`Function` symbol) to 800 so it isn't iterpreted as a `|` followed
+ (`Function` symbol) to 800 so it isn't interpreted as a `|` followed
by `->`
2021-09-27 rocky <rb@dustyfeet.com>
@@ -906,18 +906,18 @@
2021-06-29 rocky <rb@dustyfeet.com>
* mathics_scanner/data/named-characters.yml,
- test/test_general_yaml_sanity.py, test/test_table_consistency.py:
+ test/test_general_yaml_sanity.py, test/test_table_consistency.py:
Appease current checker... The checker may change in the future.
2021-06-29 rocky <rb@dustyfeet.com>
- * mathics_scanner/data/named-characters.yml: Noe one more source
+ * mathics_scanner/data/named-characters.yml: We now have one more source
2021-06-29 rocky <rb@dustyfeet.com>
* mathics_scanner/data/named-characters.yml,
mathics_scanner/generate/build_tables.py: Add ApplyTo and reqularize
- unicode-equivalent Also adust Tilde
+ unicode-equivalent Also adjust Tilde
2021-06-28 rocky <rb@dustyfeet.com>
@@ -938,7 +938,7 @@
2021-06-27 rocky <rb@dustyfeet.com>
- * CHANGES.rst, MANIFEST.in, mathics_scanner/version.py, setup.py:
+ * CHANGES.rst, MANIFEST.in, mathics_scanner/version.py, setup.py:
Get ready for release 1.2.3
2021-06-26 rocky <rb@dustyfeet.com>
@@ -1028,7 +1028,7 @@
mathics_scanner/tokeniser.py, mathics_scanner/version.py, setup.py,
test/test_has_unicode_inverse_sanity.py,
test/test_letterlikes_sanity.py, test/test_table_consistency.py,
- test/test_translation_regressions.py, test/test_wl_to_ascii.py:
+ test/test_translation_regressions.py, test/test_wl_to_ascii.py:
Blacken files
2021-06-21 rocky <rb@dustyfeet.com>
@@ -1069,7 +1069,7 @@
* .github/workflows/osx.yaml, .github/workflows/ubuntu.yaml,
.github/workflows/windows.yml, mathics_scanner/characters.py,
- mathics_scanner/version.py, requirements-dev.txt, setup.py:
+ mathics_scanner/version.py, requirements-dev.txt, setup.py:
Administrivia & make ujson optional * It's not clear that pyston-2.2 support ujson so make it optional * In github workflows use requirements-dev.txt * revise requirement-dev to remove click (in setup.py) and add ujson * setup.py make ujson optional * version.py: bump to dev
2021-05-14 rocky <rb@dustyfeet.com>
@@ -1195,7 +1195,7 @@
2021-04-03 rocky <rb@dustyfeet.com>
* mathics_scanner/data/named-characters.yml,
- mathics_scanner/tokeniser.py: Start RightComposition... /* - still ned to complete tokenizer and parser, and operator parts
+ mathics_scanner/tokeniser.py: Start RightComposition... /* - still need to complete tokenizer and parser, and operator parts
2021-04-03 rocky <rb@dustyfeet.com>
@@ -1269,7 +1269,7 @@
* .github/workflows/osx.yaml, Makefile,
mathics_scanner/data/named-characters.yml, setup.py,
- test/test_general_yaml_sanity.py, test/test_table_consistency.py:
+ test/test_general_yaml_sanity.py, test/test_table_consistency.py:
Start tagging operators Note: use WL name when there is no conflict for name of symbol. A number of other small corrections: - Mark some symbols which are invertable when they are. However this should be redone and invertability should be detected automatically. - small correction in macos CI - AUTHORS.txt reduced to those who worked in this, rather than
Mathics in general - in tests prefer top-level tests when that is possible (i.e. test
is not parameterized) - use relative import as "test" can be ambiguous and lead to
@@ -1370,8 +1370,8 @@
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * README.rst, implementation.rst, mathics_scanner/characters.py:
- Added an awfull lot of documentation
+ * README.rst, implementation.rst, mathics_scanner/characters.py:
+ Added an awful lot of documentation
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
@@ -1403,7 +1403,7 @@
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * mathics_scanner/data/named-characters.yml, test/test_roundtrip.py:
+ * mathics_scanner/data/named-characters.yml, test/test_roundtrip.py:
Fixed another errors in the YAML table
2021-02-02 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
@@ -1426,7 +1426,7 @@
2021-02-01 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * mathics_scanner/errors.py, mathics_scanner/tokeniser.py:
+ * mathics_scanner/errors.py, mathics_scanner/tokeniser.py:
Documented stuff used by Mathics
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
@@ -1446,7 +1446,7 @@
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * test/test_general_yaml_sanity.py, test/test_letterlikes_sanity.py:
+ * test/test_general_yaml_sanity.py, test/test_letterlikes_sanity.py:
Improved the general tests for YAML
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
@@ -1475,22 +1475,22 @@
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
+ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
Fixed typos
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
+ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
Improved the sanity checks for has-unicode-inverse
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
+ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
Fixed and improved the roundtrip tests
2021-01-31 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
+ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py:
Added sanity check for has-unicode-inverse and fixed the reound trip
tests
@@ -1542,7 +1542,7 @@
2021-01-27 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * mathics_scanner/build_tables.py: Improved the algorith that
+ * mathics_scanner/build_tables.py: Improved the algorithm that
resolves the appropriate plain-text representation of a given
character
@@ -1698,15 +1698,15 @@
2021-01-19 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * setup.py: Tryed to fix the installation script
+ * setup.py: Tried to fix the installation script
2021-01-19 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * Makefile, setup.py: Tryed to fix CI
+ * Makefile, setup.py: Tried to fix CI
2021-01-19 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * setup.py: Tryed to fix the installation errors
+ * setup.py: Tried to fix the installation errors
2021-01-19 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
@@ -1884,5 +1884,4 @@
2021-01-18 Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
- * Removed unnecessary comments (the old code wass commented)
-
+ * Removed unnecessary comments (the old code was commented)