Commit Graph

1306 Commits

Author SHA1 Message Date
221f4ad7ea Default RNG now uses static, thread-local memory instead of heap
allocated
2024-12-19 15:16:33 -05:00
88d1bde371 RNG needs to not be thread-local to make GC happy 2024-12-19 15:11:54 -05:00
ef546696e8 Tweak command line args to support -q and update docs 2024-12-19 15:02:39 -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
1df02db239 Fix for tables with default values not doing type equality right 2024-12-18 15:10:57 -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
aa26234471 Minor cleanups and fixes to RNG, chacha, and text 2024-12-17 14:24:37 -05:00
d3eb8b8339 Have ask() return an optional text 2024-12-15 16:53:18 -05:00
0caf96cfe7 Parse negative integers 2024-12-15 16:53:07 -05:00
5c15238e2f Fix for indexing table pointers 2024-12-12 14:08:07 -05:00
10a0a16686 Tweaks to RNG code 2024-12-12 14:01:58 -05:00
c5db5fef62 Fix optional promotion issue 2024-12-12 14:01:48 -05:00
ff95aa5e64 Bugfix for max cache size 2024-12-11 13:47:00 -05:00
cac894d39f Fixes for integer logic around big/small ints 2024-12-11 13:36:52 -05:00
7e9a976fe5 Optional promotion in comparisons 2024-12-11 13:25:00 -05:00
6c5c759619 Update docs 2024-12-11 13:24:54 -05:00
1c261c33bd Respect $NO_COLOR for running programs 2024-12-08 15:18:26 -05:00
d65a0abba1 Add GCD function for integers (of all flavors) 2024-12-08 14:28:26 -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
17e473a98a Bugfix for text memory allocations 2024-12-04 14:18:19 -05:00
c6bcb05a4e Further bugfix for array concatenation 2024-12-02 15:21:29 -05:00
44d8d553df Bugfix for array concatenation 2024-12-02 14:49:51 -05:00
5e0f76d17f Fix edge case with nested optional 2024-12-01 13:42:08 -05:00
5b661403e1 Support single-argument enums 2024-11-30 17:43:02 -05:00
eedfe7ca95 Support parsing enums as arguments as long as they have no members 2024-11-30 17:32:07 -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
566f97307d Fix parsing issue that allowed spaces around ':' for method calls 2024-11-30 14:09:04 -05:00
fed63d8ea1 Tweak to how 'Type' appears as a type 2024-11-29 20:04:44 -05:00
bb57aeb744 Fix Type:as_text() 2024-11-29 20:03:20 -05:00
a68e9a1942 Update docs and minor bugfix 2024-11-29 20:01:56 -05:00
69613e6c03 Tweak serialization syntax 2024-11-29 19:57:50 -05:00
e2fa11b7fe Rename :serialize() -> :serialized() 2024-11-29 19:39:17 -05:00
0d6ef67a01 Add serialization docs 2024-11-29 19:36:17 -05:00
6d2017d5b8 Add serialization test case 2024-11-29 19:34:31 -05:00
e5e9c8b46c Make Int serialization more compact 2024-11-29 19:32:47 -05:00
725bc9809f Bugfix for enum tags 2024-11-29 18:45:44 -05:00