Commit Graph

23 Commits

Author SHA1 Message Date
be384c0caa Replace threads with generic mutexed datastructures. 2025-01-02 16:24:07 -05:00
221f4ad7ea Default RNG now uses static, thread-local memory instead of heap
allocated
2024-12-19 15:16:33 -05:00
d3eb8b8339 Have ask() return an optional text 2024-12-15 16:53:18 -05:00
1c261c33bd Respect $NO_COLOR for running programs 2024-12-08 15:18:26 -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
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
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
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
fc9a6f1416 Add RNGs to the language 2024-11-03 22:37:48 -05:00
7ddb2ffb02 Fix per-thread RNG 2024-11-03 16:21:40 -05:00
a60e0e5e9a Remove unused args for end_test() 2024-10-31 01:30:12 -04:00
bbbfc692fc Tweak doctest output so it outputs source info 2024-10-31 01:28:58 -04:00
9ebb039a81 Fix up some GCC compiler flag options for LTO and inlining 2024-10-29 23:14:31 -04:00
33f1af8e71 Fixes for places that used Text$find() 2024-10-27 20:45:10 -04:00
1a6ce0047b Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code 2024-09-30 14:39:30 -04:00
23af8b64a3 Overhaul of argument parsing code 2024-09-28 15:17:09 -04:00
0622f758f7 Improved support for CLI arg parsing 2024-09-27 13:56:56 -04:00
c9ff2b0a8a Move USE_COLOR into stdlib 2024-09-18 01:08:36 -04:00
c455e7b67d Rename builtins/ -> stdlib/ 2024-09-13 20:18:08 -04:00