Commit Graph

563 Commits

Author SHA1 Message Date
f93dde1449 Overhaul of Text implementation to be more like Cords and have much
better performance for long sequences of repeated concatenation.
2025-01-23 15:33:56 -05:00
b025cf269d Use holding blocks for mutexed data instead of lambdas 2025-01-02 20:29:55 -05:00
be384c0caa Replace threads with generic mutexed datastructures. 2025-01-02 16:24:07 -05:00
8df0cc41c9 Array:heap_pop() now returns an optional value 2024-12-31 15:57:13 -05:00
156d54a73e Add array:pop() 2024-12-31 15:46:53 -05:00
091f43e8ef Bugfix for lvalues that are pointers to tables/arrays 2024-12-26 18:08:30 -05:00
acd3f2d39e Add text indexing 2024-12-26 17:31:33 -05:00
f4b105456a Bugfix for ternary expressions 2024-12-24 14:15:10 -05:00
add1da2a96 Fix for table default values 2024-12-24 13:49:47 -05:00
2a12cb869b Bugfixes for table updates and array concat updates 2024-12-22 15:31:58 -05:00
46b61d3ed2 Add text:by_line()/:by_split()/:by_match() 2024-12-21 16:32:22 -05:00
325b367a13 Support logical binary operators on optionals (promote to booleans) 2024-12-21 15:13:26 -05:00
b0faa5adc2 Add Text:from()/to() and Array:slice() for symmetry 2024-12-19 13:50:35 -05:00
1db70d46c6 Fix cross promotion between types with/without defaults 2024-12-18 15:21:20 -05:00
5d37a0c66b Fixes for tables with default values 2024-12-18 15:08:13 -05:00
c6c7cc7272 Revert "Deprecate "&" for stack references"
This reverts commit 41c0ea851a.
2024-12-18 14:44:37 -05:00
5c15238e2f Fix for indexing table pointers 2024-12-12 14:08:07 -05:00
ff95aa5e64 Bugfix for max cache size 2024-12-11 13:47:00 -05:00
841c8114a3 Fix for set binop operations 2024-12-08 13:45:01 -05:00
37f3e91f6c Rename "NONE" to "none" 2024-12-07 16:04:25 -05:00
a201939a81 Use likely()/unlikely() macros and a few bugfixes for integers 2024-12-07 15:59:37 -05:00
683b0f5141 Rename some old "null" references 2024-12-07 15:28:33 -05:00
1710b30de4 Tweak to Set operations 2024-12-07 15:10:00 -05:00
3a5815d4bd Improvements and fixes for assigning to table keys 2024-12-06 15:18:25 -05:00
ca14454bb0 Bugfix for error allowing for recursive declarations 2024-12-05 13:39:49 -05:00
07dd1894b7 Bugfixes for moments mixing up microseconds/nanoseconds, plus adding
accessor fields for them
2024-11-30 17:25:36 -05:00
919e47a418 Better error messages for table[key] += ... 2024-11-30 15:54:21 -05:00
40c33987fa Bring back table[key] syntax 2024-11-30 15:50:54 -05:00
f3fc7558bb Deprecate 'array ++= item' syntax 2024-11-30 15:34:35 -05:00
357c9faa40 Fix for update assignments 2024-11-30 15:33:54 -05:00
e38ecde989 Explicitly forbid nested optional types 2024-11-30 14:59:28 -05:00
18c1ce7fd1 Fix for non-idempotent update assignments 2024-11-30 14:16:08 -05:00
a68e9a1942 Update docs and minor bugfix 2024-11-29 20:01:56 -05:00
e2fa11b7fe Rename :serialize() -> :serialized() 2024-11-29 19:39:17 -05:00
f66f8ad711 Add serialization and deserialization 2024-11-29 18:09:12 -05:00
4b5e4cd1f2 Change how types handle metamethods 2024-11-29 12:55:14 -05:00
0b0e0a0a1d Support promoting values to readonly views 2024-11-28 14:14:17 -05:00
646b35e42d Better automatic promotion for function args 2024-11-26 13:54:55 -05:00
971b72fa25 Fix for empty constructors 2024-11-25 16:03:13 -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
a38161179b Cleaner None-handling 2024-11-24 16:49:26 -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
f868d02b08 Add NULL as a syntax for null values. 2024-11-21 13:00:53 -05:00
4231789b71 Rename datetime -> moment 2024-11-17 14:49:03 -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