aboutsummaryrefslogtreecommitdiff
path: root/typecheck.c
AgeCommit message (Collapse)Author
2024-09-11Use optionals for iteratorsBruce Hill
2024-09-11Fix recursive structs with optionalsBruce Hill
2024-09-11Change *:from_text() methods to return optional values and set up CLIBruce Hill
parsing to use that approach
2024-09-11Rename "Nil"->"Null" for consistencyBruce Hill
2024-09-11Optional enums (deprecated custom tag values)Bruce Hill
2024-09-11Use optional ints in the array find()/first() APIBruce Hill
2024-09-11Add optional typesBruce Hill
2024-09-08BugfixesBruce Hill
2024-09-08Fix nearly every GCC warning and add __attribute__((pure/const)) whereBruce Hill
appropriate
2024-09-06Support 'when' statements as expressionsBruce Hill
2024-09-06Bugfixes for lambdas that have a trailing abort statement (and printBruce Hill
statements aren't those)
2024-09-06Actual fix for incref issueBruce Hill
2024-09-05Rename table_t -> Table_tBruce Hill
2024-09-05Clean up some importsBruce Hill
2024-09-04Disallow 'use' statements that aren't top levelBruce Hill
2024-09-03Support literal Text("blah") for text that is constant ASCII stringsBruce Hill
2024-09-02Bugfix some text replacement thingsBruce Hill
2024-09-02Initial WIP first pastBruce Hill
2024-08-23Bugfix for parsing intsBruce Hill
2024-08-22Overhaul of import syntax. Now everything uses `use`: `use foo`, `useBruce Hill
./foo.tm`, `use <foo.h>`, `use libfoo.so`
2024-08-21Variables can no longer hold function pointers, only closure_t's. ThisBruce Hill
makes error reporting easier and prevents issues where some functions could be assigned, but not others. Also change outputs so Void returns don't show up when displaying types, now just: `func()`
2024-08-20Bugfix some copy-on-write cases for when pointers are automaticallyBruce Hill
derefenced for method calls
2024-08-19Remove TODOBruce Hill
2024-08-19Add .text_content as a field on DSLs instead of a methodBruce Hill
2024-08-19Bugfix :text_content() for DSLsBruce Hill
2024-08-18Add Channel:peek()Bruce Hill
2024-08-18Rename push/pop to give/get, since it's not stack-orderedBruce Hill
2024-08-18Add array:first(predicate:func(x:&T)->Bool)->@%T?Bruce Hill
2024-08-18Deprecate `#` operator in favor of .length and fix up some issuesBruce Hill
2024-08-18Improved syntax for dollar-string literalsBruce Hill
2024-08-18Fix up some bigint logic issuesBruce Hill
2024-08-18Split BigIntType out of IntType and switch to using enums for the sizeBruce Hill
of ints/nums
2024-08-17Add table:get_or_null(key) for tables with non-null pointer values,Bruce Hill
which lets get() keep the non-null return type
2024-08-16Check for compile-time constant integers that require heap allocations.Bruce Hill
2024-08-15More helpful error message for table indexingBruce Hill
2024-08-15Add array:find()Bruce Hill
2024-08-15Add method for array:remove_item(item) and renameBruce Hill
array:remove(index)->array:remove_at(index) to avoid confusion. Also hook up array:has()
2024-08-15Add array:shuffled() and checks for array insertionBruce Hill
2024-08-15Add binary search method to arraysBruce Hill
2024-08-13Support ^ exponentiation for integersBruce Hill
2024-08-13Partially working first draft of bigintsBruce Hill
2024-08-12Bugfix some issues with table keys/valuesBruce Hill
2024-08-11Add channels and threadsBruce Hill
2024-08-10Overhaul of operator metamethodsBruce Hill
2024-08-10Add array:counts()Bruce Hill
2024-08-10Add Array:unique() to get a set of unique itemsBruce Hill
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-10Add Sets to the languageBruce 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