Commit Graph

1398 Commits

Author SHA1 Message Date
c4b6159f76 Permit spaces before indexes 2024-11-26 13:07:48 -05:00
971b72fa25 Fix for empty constructors 2024-11-25 16:03:13 -05:00
922b585700 Tweaks to NONE parsing and tests 2024-11-25 15:59:35 -05:00
32532836b9 Add NaN documentation 2024-11-25 15:57:56 -05:00
3e23ea6a67 Improve handling of update assignments 2024-11-25 14:57:58 -05:00
369c83e8c5 Perform NONE-checking on /= and *= operations for nums 2024-11-25 14:43:47 -05:00
27da373754 Micro-optimizations for division and modulus 2024-11-25 14:11:06 -05:00
a38161179b Cleaner None-handling 2024-11-24 16:49:26 -05:00
52de4258e9 Better handling for NULL optional types 2024-11-24 16:41:27 -05:00
d4b10514fb Clean up some more null->none renames and fix the documentation. Also
change the literal syntax to `NONE:T` instead of `!T`
2024-11-24 16:36:27 -05:00
1e3fb8a2c0 Rename "NULL" to "NONE" 2024-11-24 16:18:21 -05:00
0e10313d64 Switch NaN to be identical to the null value 2024-11-24 16:13:23 -05:00
6ecf6a2724 Add clarification 2024-11-24 15:28:58 -05:00
295487b627 Fix ordering of Nums that have NaNs 2024-11-23 13:25:16 -05:00
f868d02b08 Add NULL as a syntax for null values. 2024-11-21 13:00:53 -05:00
90573ba7a1 Tweak behavior for printing recursive structures 2024-11-19 15:45:33 -05:00
2c904ff173 Go back to stringifying integers/num32s/bytes without the type
constructor.
2024-11-19 13:41:52 -05:00
4720ca7a5f Rename Text.utf8_bytes back to Text.bytes 2024-11-19 13:30:45 -05:00
ccada385c4 Add Text.at(i) for getting a single cluster 2024-11-19 13:27:27 -05:00
e97c3850b8 Document Text.slice() 2024-11-19 12:59:06 -05:00
af5b5a90d6 Be more permissive around indentation between infix operators 2024-11-17 15:10:02 -05:00
14ebadbbfd Update README 2024-11-17 14:52:58 -05:00
0631e8eae8 Update docs 2024-11-17 14:50:37 -05:00
4231789b71 Rename datetime -> moment 2024-11-17 14:49:03 -05:00
c1ae79ac3c Tweak hash function 2024-11-17 14:33:17 -05:00
b51cd728c6 Add 'unless' as an alias for 'if not' 2024-11-17 13:25:32 -05:00
3edbba7032 Fix up recursive pointer text representation 2024-11-12 00:09:47 -05:00
a4d11f51ff Fixes for 'if' blocks with nested 'else if' that declare variables 2024-11-12 00:04:56 -05:00
5b8f7179ad Bugfix for pointer iterations 2024-11-09 17:57:02 -05:00
0df908f55f Support iterating over pointers to collections again 2024-11-09 17:54:32 -05:00
145a078387 Make the compiler stricter about not promoting local value variables to
pointers
2024-11-09 17:26:01 -05:00
8dd51a113e Bugfix integer literal demotion in assignment statements 2024-11-09 16:59:34 -05:00
06d3ec1380 Bugfix for fixed-size integer ranges 2024-11-09 16:55:44 -05:00
898bee1581 Introduce a Match struct to represent pattern matching results, which
improves the usability of a lot of the APIs. Also bugfix some issues
with ranges.
2024-11-09 16:27:54 -05:00
7a4f2e73ad Rename from_text() to parse() 2024-11-09 15:11:11 -05:00
5d35f28633 Improve reductions so they work better nested and also have bespoke code
optimized for min/max and argmin/argmax.
2024-11-08 14:10:19 -05:00
9c842201f3 Bugfix for parsing empty method call names 2024-11-07 14:42:24 -05:00
bd3df66165 Fix up some stuff with boolean operators and reductions 2024-11-07 13:27:09 -05:00
3d9e562e2c Add byte hex tests 2024-11-05 15:34:01 -05:00
a8a35ea688 Add Byte.hex() 2024-11-05 15:33:08 -05:00
b238f1df41 Fix up old-style reducers 2024-11-05 15:20:47 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
2fa26e6af3 Be much more permissive about using integer literals for fixed-size ints
or nums or bytes
2024-11-04 15:24:10 -05:00
da5bd87c13 Minor code cleanup 2024-11-04 13:06:11 -05:00
20096c8e81 Fix for blocking reads 2024-11-04 01:37:51 -05:00
8b619fdef0 Add base64 lib 2024-11-04 01:33:54 -05:00
dc7289b239 Fix for optional langs 2024-11-04 01:24:28 -05:00
aabc0a3cff Update text API to use optional returns when applicable 2024-11-04 01:17:47 -05:00
b69d14b894 Add some missing functionality for Bytes 2024-11-04 01:12:37 -05:00
81a180eda0 RNG seed should be non-optional 2024-11-03 22:45:49 -05:00