aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-10For tables, deprecate support for square bracket indexing and .defaultBruce Hill
values, replacing them with a `:bump()` function for tables with numeric values. This means that counters can be implemented easily without the need to mask complexity.
2024-08-10Make Num32/Num64 literals explicitly typed to aid in macros usingBruce Hill
__typeof
2024-08-10Add Sets to the languageBruce Hill
2024-08-10Add test for iteratorsBruce Hill
2024-08-10Add test for rangesBruce Hill
2024-08-10Move docsBruce Hill
2024-08-10Bugfix for table literals with duplicated keysBruce Hill
2024-08-08Change table removal function to use values instead of referencesBruce Hill
2024-08-05Add a Range datatype with creation methods like `5:to(10)` andBruce Hill
modification methods like `range:by(2)` or `range:reversed()`
2024-08-04Guard against tables exceeding maximum supported sizeBruce Hill
2024-08-04Switch to TABLE_INCREFBruce Hill
2024-08-04More refcount fixesBruce Hill
2024-08-04Fix up some edge cases with refcountingBruce Hill
2024-08-04Minor fix for array refcountingBruce Hill
2024-08-04Add commentBruce Hill
2024-08-04Tweak bitsBruce Hill
2024-08-04Tweak reallocation heuristics for arraysBruce Hill
2024-08-04Bugfix for testsBruce Hill
2024-08-04Tweaks to array implementation, including changing how the bits areBruce Hill
allocated, making more explicit checks for refcounts and max values, optimizations for certain methods, and adding compile-time errors for arrays that hold items that are too large.
2024-08-04Switch around some of the logic for array:random() and array:shuffle()Bruce Hill
to use Int$random() and return values
2024-08-03Revert "Fix array:random() to return a random item using correct RNG logic,"Bruce Hill
This reverts commit 68b34cf00b8a52509c0bed7b1e66b3e40de0c4f5.
2024-08-03Make default table removal behavior deterministic, but have cachesBruce Hill
explicitly use random eviction.
2024-08-03Fix array:random() to return a random item using correct RNG logic,Bruce Hill
rather than a reference.
2024-08-03Change structs/enums so they allow for field/tag names that are CBruce Hill
keywords
2024-08-03Fix integer random functions so they correctly handle all representableBruce Hill
ranges
2024-08-03Add proper error check for heap poppingBruce Hill
2024-08-03Change array API to take a padded item size instead of a type info inBruce Hill
most cases
2024-08-03Incrementally moving towards passing array entry sizes explicitlyBruce Hill
2024-08-03Fix bug caused by not handling item padding properlyBruce Hill
2024-08-03Fix for stride overflows in arraysBruce Hill
2024-07-26Replace heap_str with GC_strdupBruce Hill
2024-07-26Replace heap_strn() with GC_strndup()Bruce Hill
2024-07-23Fix for order of operations issues with enum and function typedef codeBruce Hill
2024-07-23Update string docsBruce Hill
2024-07-23Tweak Make depsBruce Hill
2024-07-23Add headers to make depsBruce Hill
2024-07-22Make sure array slicing doesn't require a pointer and disallow automaticBruce Hill
stackifying of values
2024-07-20Fix edge case with iterating over array:from(-999)Bruce Hill
2024-07-20Micro optimization for iterating over array rangesBruce Hill
2024-07-20Deprecate array:pairs() and switch iterator functions to use enumsBruce Hill
2024-07-19Fix for unqualified enum names as return valuesBruce Hill
2024-07-14Support nested lambda closuresBruce Hill
2024-07-14Fix issue with bindings inside closuresBruce Hill
2024-07-13Fix for reductions over iterators like `(+) range(5, 10)`Bruce Hill
2024-07-13Add ReturnType(ret) so we can more accurately track return values forBruce Hill
`if` statements
2024-07-13Allow lambdas to have a return statement as the last statementBruce Hill
2024-07-13Add array:pairs()Bruce Hill
2024-07-13Add iterator functionsBruce Hill
2024-07-10Bugfix for unchecked array accessBruce Hill
2024-07-10Add array:to() to split out functionality of array:from()Bruce Hill