Commit Graph

1479 Commits

Author SHA1 Message Date
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
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
abe36dcee1 Tweak docs 2024-11-26 14:01:03 -05:00
4d11f83f70 Add some examples to the repo 2024-11-26 13:57:00 -05:00
646b35e42d Better automatic promotion for function args 2024-11-26 13:54:55 -05:00
e9b36ae07e More permissive parsing for spaces between binops 2024-11-26 13:48:00 -05:00
ac82e128aa Document integer division 2024-11-26 13:46:58 -05:00
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