aboutsummaryrefslogtreecommitdiff
path: root/builtins
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-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-04Fix up some edge cases with 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-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-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-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-05Make file paths in stack traces relativeBruce Hill
2024-07-05Improvements to error message printoutsBruce Hill
2024-07-04Randomize hash key on startup and rename to TOMO_HASH_KEY.Bruce Hill
2024-06-18Fix array_lvalueBruce Hill
2024-06-06Prefer 'sizeof(t[n])' over 'sizeof(t)*n'Bruce Hill
2024-06-01Change how floats are serializedBruce Hill
2024-05-28Changes to dependency tracking, compilation, and object linkingBruce Hill
2024-05-25Move standard initialization code into tomo_init() functionBruce Hill
2024-05-21Reduce codegen output for enums without data attached to any tagsBruce Hill
2024-05-20Deprecate Text.slice()Bruce Hill
2024-05-20Hook up Text.has(), Text.trimmed(), Text.without()Bruce Hill
2024-05-19Add Text.slice()Bruce Hill
2024-05-18Add syntax for "inline C(...)"Bruce Hill
2024-05-18Clean up imports a bitBruce Hill
2024-05-18Add C string typeBruce Hill
2024-05-14Bugfix for Num.near()Bruce Hill
2024-05-14Add nested indentation for doctests that recursively invoke otherBruce Hill
doctests while evaluating
2024-05-12Revert "Deprecate stack macro"Bruce Hill
This reverts commit 00ec635718f9ce397e46c614190a6c5ed4a9e82a.