aboutsummaryrefslogtreecommitdiff
path: root/builtins/array.h
AgeCommit message (Collapse)Author
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-03Fix array:random() to return a random item using correct RNG logic,Bruce Hill
rather than a reference.
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 for stride overflows in arraysBruce Hill
2024-07-22Make sure array slicing doesn't require a pointer and disallow automaticBruce Hill
stackifying of values
2024-07-20Deprecate array:pairs() and switch iterator functions to use enumsBruce Hill
2024-07-13Add array:pairs()Bruce Hill
2024-07-10Add array:to() to split out functionality of array:from()Bruce Hill
2024-07-10Replace array:slice() with array:from(first, last) and array:by(step)Bruce Hill
2024-07-05Improvements to error message printoutsBruce Hill
2024-06-18Fix array_lvalueBruce Hill
2024-04-20Fix USE_COLORBruce Hill
2024-04-20Inline color fileBruce Hill
2024-04-19Add heapify(), heap_push(), and heap_pop()Bruce Hill
2024-04-16Invert escaping so user symbols get prepended with "$" and builtinBruce Hill
symbols don't
2024-04-02Add array:sample()Bruce Hill
2024-04-02Add array:sorted()Bruce Hill
2024-04-02Add comparison operator <> and array method to sort by a customBruce Hill
comparison function
2024-03-29Switch naming convention to use '$' in symbols moreBruce Hill
2024-03-26Add array:reversed()Bruce Hill
2024-03-26Improve codegen for table/array iteration by inlining the iterationBruce Hill
macros
2024-03-24Improve COW/etc handling for update assignmentsBruce Hill
2024-03-22Fix/improve assignment to arrays and tablesBruce Hill
2024-03-18More file commentsBruce Hill
2024-03-14Array comprehensionsBruce Hill
2024-03-10Rearranging some filesBruce Hill
2024-03-08Array methodsBruce Hill
2024-03-08Rename Array_random -> Array__randomBruce Hill
2024-03-08Fix negative index issue and add array:random()Bruce Hill
2024-03-06Fix up some array literal stuff with TCCBruce Hill
2024-03-03Rename as_str -> as_textBruce Hill
2024-03-03Definitively go with "Int" and "Num" over "Int64" and "Num64", plus addBruce Hill
Int__bits()
2024-02-29Add type namespacesBruce Hill
2024-02-29Fix up some import issues and improve arrays to use saturating refcountsBruce Hill
instead of .copy_on_write
2024-02-25WIP on stackrefsBruce Hill
2024-02-23Set up 'atomic' for arraysBruce Hill
2024-02-23Fix up some ++ stuff for arraysBruce Hill
2024-02-23Implement Array__concat and ++=Bruce Hill
2024-02-18Add source information to runtime errorsBruce Hill
2024-02-18Improved error messagesBruce Hill
2024-02-18Implement indexingBruce Hill
2024-02-18Compile tablesBruce Hill
2024-02-17Various fixes, including for Null valuesBruce Hill
2024-02-17Change things up to use type params for all array and table methodsBruce Hill
2024-02-17Rename 'cord' to 'as_str'Bruce Hill
2024-02-04BuiltinsBruce Hill