|
33 | 33 | ### Minor-level changes |
34 | 34 |
|
35 | 35 | - Add operator `REFUTE`. |
36 | | -- Add operator `ISMAP`. |
37 | | -- Add operator `ISFUNC`. |
38 | | -- Add operator `ISTHR`. |
| 36 | +- Add operator `ismap`. |
| 37 | +- Add operator `isfunc`. |
| 38 | +- Add operator `isthread`. |
39 | 39 | - Allow `1` at ident start. |
40 | 40 | - Update ident name rules. |
41 | 41 | - Document `path` stdlib module. |
|
55 | 55 |
|
56 | 56 | Add a PowerShell-based automated test suite and run it in CI. |
57 | 57 |
|
58 | | -Fix `IADD` so coercing `NaN` and infinities to `INT` fails instead of succeeding. |
| 58 | +Fix `IADD` so coercing `NaN` and infinities to `int` fails instead of succeeding. |
59 | 59 |
|
60 | 60 | Fix `PAUSE` and its tests. |
61 | 61 |
|
62 | 62 | Fix `PARALLEL`. |
63 | 63 |
|
64 | 64 | Fix serialization and deserialization. |
65 | 65 |
|
66 | | -Make `MATCH` reject non-`INT` flags and accept later keyword arguments even when earlier optional ones are absent. |
| 66 | +Make `MATCH` reject non-`int` flags and accept later keyword arguments even when earlier optional ones are absent. |
67 | 67 |
|
68 | | -Make `WARN` reject empty calls and arguments that cannot be converted with `~STR`, and improve the empty-call error message. |
| 68 | +Make `WARN` reject empty calls and arguments that cannot be converted with `~str`, and improve the empty-call error message. |
69 | 69 |
|
70 | | -Make `PRINT` reject empty calls and arguments that cannot be converted with `~STR`. |
| 70 | +Make `PRINT` reject empty calls and arguments that cannot be converted with `~str`. |
71 | 71 |
|
72 | 72 | Reject multiple statements on one logical line. |
73 | 73 |
|
74 | 74 | Make `STRIP` treat `remove` as a substring rather than a character list, and reject an empty `remove` value. |
75 | 75 |
|
76 | 76 | Make `REPLACE` reject an empty `old` value. |
77 | 77 |
|
78 | | -Make `IN` reject tensor operands that are not `TNS` values. |
| 78 | +Make `IN` reject tensor operands that are not `tensor` values. |
79 | 79 |
|
80 | | -Make `STR` reject invalid operand types. |
| 80 | +Make `str` reject invalid operand types. |
81 | 81 |
|
82 | 82 | Make `KEYIN` reject invalid key types. |
83 | 83 |
|
84 | | -Make `BNOT` fail on non-binary `INT` values. |
| 84 | +Make `BNOT` fail on non-binary `int` values. |
85 | 85 |
|
86 | 86 | Make `THROW` concatenate its arguments. |
87 | 87 |
|
|
93 | 93 |
|
94 | 94 | Fix `PARFOR` pointer writeback. |
95 | 95 |
|
96 | | -Fix tensor operator handling of `MAP` and `THR` values. |
| 96 | +Fix tensor operator handling of `map` and `thread` values. |
97 | 97 |
|
98 | 98 | Make `MOD` stop overwriting a pointer passed as its second operand. |
99 | 99 |
|
|
163 | 163 |
|
164 | 164 | ### Major-level changes |
165 | 165 |
|
166 | | -Add the first-class `BOOL` type with the `TRUE` and `FALSE` literals, and change the language's Boolean model to use `BOOL` rather than integer sentinel values. |
| 166 | +Add the first-class `bool` type with the `TRUE` and `FALSE` literals, and change the language's Boolean model to use `bool` rather than integer sentinel values. |
167 | 167 |
|
168 | | -Change built-in and standard-library APIs that previously returned `INT` sentinel values to return `BOOL` instead, including logical, comparison, type-checking, import, filesystem, console, freeze, and deletion operators, along with helpers such as `prime.IS_PRIME`, `prime.IS_MERSENNE_PRIME`, and `image.SHOW`. |
| 168 | +Change built-in and standard-library APIs that previously returned `int` sentinel values to return `bool` instead, including logical, comparison, type-checking, import, filesystem, console, freeze, and deletion operators, along with helpers such as `prime.IS_PRIME`, `prime.IS_MERSENNE_PRIME`, and `image.SHOW`. |
169 | 169 |
|
170 | 170 | ### Minor-level changes |
171 | 171 |
|
172 | | -Bind `SELF` when calling `FUNC` values stored in `MAP` objects, preserving aliasing when the map is accessed through a pointer. |
| 172 | +Bind `SELF` when calling `func` values stored in `map` objects, preserving aliasing when the map is accessed through a pointer. |
173 | 173 |
|
174 | 174 | Update pointer semantics so transformed built-in results write back through pointer operands, and pointer arguments to user-defined functions bind as aliases. |
175 | 175 |
|
176 | 176 | ### Patch-level changes |
177 | 177 |
|
178 | | -Allow `BOOL` values in conversions, truthiness, tensor elements, serialization, deserialization, printing, and default `FUNC` returns. |
| 178 | +Allow `bool` values in conversions, truthiness, tensor elements, serialization, deserialization, printing, and default `func` returns. |
179 | 179 |
|
180 | 180 | Fix image save operators to report runtime failures correctly. |
181 | 181 |
|
|
221 | 221 |
|
222 | 222 | Complete `GOTO` implementation. |
223 | 223 |
|
224 | | -Ban implicit `MAP` returns from `FUNC`. |
| 224 | +Ban implicit `map` returns from `func`. |
225 | 225 |
|
226 | 226 | Ban non-ASCII chars from source code. |
227 | 227 |
|
|
239 | 239 |
|
240 | 240 | Make `FOR` counter loop-local. |
241 | 241 |
|
242 | | -Ban `RETURN` from outside `FUNC`. |
| 242 | +Ban `RETURN` from outside `func`. |
243 | 243 |
|
244 | 244 | Fix [specification 9.2.3](https://python-processing-unit.github.io/Prefix/SPECIFICATION.html#923-conditional-statements). |
245 | 245 |
|
246 | | -Fix `MAP`'s Boolean representation. |
| 246 | +Fix `map`'s Boolean representation. |
247 | 247 |
|
248 | 248 | Ban invalid `^`. |
249 | 249 |
|
250 | 250 | Ban incorrect bracket kinds. |
251 | 251 |
|
252 | 252 | Fix [specification section 4.4.1](https://python-processing-unit.github.io/Prefix/SPECIFICATION.html#441-tensor-literals). |
253 | 253 |
|
254 | | -Restrict `GOTOPOINT` to `STR` and positive `INT`. |
| 254 | +Restrict `GOTOPOINT` to `str` and positive `int`. |
255 | 255 |
|
256 | 256 | Require parentheses for `CONTINUE`. |
257 | 257 |
|
|
281 | 281 |
|
282 | 282 | Allow symbol creation via `ASSIGN`. |
283 | 283 |
|
284 | | -Allow `DEL` calls on `MAP` indexes. |
| 284 | +Allow `DEL` calls on `map` indexes. |
285 | 285 |
|
286 | 286 | Fix `-source` mode module name. |
287 | 287 |
|
|
311 | 311 |
|
312 | 312 | ### Major-level changes |
313 | 313 |
|
314 | | -Convert `INT` and `FLT` from binary types to support multiple bases. |
| 314 | +Convert `int` and `float` from binary types to support multiple bases. |
315 | 315 |
|
316 | 316 | ### Minor-level changes |
317 | 317 |
|
|
339 | 339 |
|
340 | 340 | ### Patch-level changes |
341 | 341 |
|
342 | | -Convert `MAP` to use a hash table for performance. |
| 342 | +Convert `map` to use a hash table for performance. |
343 | 343 |
|
344 | 344 | --- |
345 | 345 |
|
|
377 | 377 |
|
378 | 378 | ### Major-level changes |
379 | 379 |
|
380 | | -Make `TNS` and `MAP` atomic. |
| 380 | +Make `tensor` and `map` atomic. |
381 | 381 |
|
382 | 382 | ### Minor-level changes |
383 | 383 |
|
384 | 384 | N/A |
385 | 385 |
|
386 | 386 | ### Patch-level changes |
387 | 387 |
|
388 | | -Fix `FUNC` handling in `SIGNATURE`. |
| 388 | +Fix `func` handling in `SIGNATURE`. |
389 | 389 |
|
390 | 390 | --- |
391 | 391 |
|
|
397 | 397 |
|
398 | 398 | ### Minor-level changes |
399 | 399 |
|
400 | | -Add `FLT` infinities. |
| 400 | +Add `float` infinities. |
401 | 401 |
|
402 | | -Add `FLT` NaN. |
| 402 | +Add `float` NaN. |
403 | 403 |
|
404 | 404 | ### Patch-level changes |
405 | 405 |
|
|
0 commit comments