aboutsummaryrefslogtreecommitdiff
path: root/environment.c
AgeCommit message (Collapse)Author
2024-09-04Add Text:repeat()Bruce Hill
2024-09-04Add Text.map(pat, fn)Bruce Hill
2024-09-04Unify parsing code to correctly handle parsing integers and numbers withBruce Hill
a &success boolean. Check for overflow as well.
2024-09-04Add ask() as a way to get user inputBruce Hill
2024-09-04Improve codegen by making test() even more conciseBruce Hill
2024-09-04Add Text:matches() for convenience and performanceBruce Hill
2024-09-03Add recursive mode to text replacement and update docsBruce Hill
2024-09-03Clean up text replacement API to use backrefs instead of match_chain()Bruce Hill
2024-09-03Add Text.replace_all({Pattern:Text}) and tweak API for replacement toBruce Hill
support placeholders
2024-09-03Bugifx for Pattern.from_unsafe_textBruce Hill
2024-09-03Bugfix for text method lookupsBruce Hill
2024-09-03Syntax overhaul (comments back to `#`, print statments to `!!`),Bruce Hill
using `$/.../` for patterns and using a DSL for patterns
2024-09-03Deprecate `Where` and change channel API to use a boolean `front` valueBruce Hill
2024-09-02Add text slicingBruce Hill
2024-09-02Fix some stuff around Text:find() and text indexingBruce Hill
2024-09-02Add Text:find_all()Bruce Hill
2024-09-02Add Text:split() and use that with an empty pattern instead of Text:clusters()Bruce Hill
2024-09-02Add Text:lines()Bruce Hill
2024-09-02WIP fixes for synthetic graphemes and adding some text conversionBruce Hill
methods
2024-09-02Fixing string methodsBruce Hill
2024-09-02Auto promote to C String from TextBruce Hill
2024-09-02Bugfix some text replacement thingsBruce Hill
2024-08-23Bugfix for say() when length is >512, and added back the `newline`Bruce Hill
optional parameter (default=yes)
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-19Add .text_content as a field on DSLs instead of a methodBruce Hill
2024-08-19Restructure things so that DSL constructors do proper escapingBruce Hill
2024-08-18Update channel API to take a Where parameterBruce Hill
2024-08-18Add Int:clamped() and Num:clamped()Bruce Hill
2024-08-18Remove duplicated lineBruce Hill
2024-08-18Remove some num functionsBruce Hill
2024-08-18Add primality testing and next_prime()/prev_prime()Bruce 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-16Change division and modulus to use euclidean division, plus fix up a fewBruce Hill
integer bugs
2024-08-16Add Bool:random(p=0.5)Bruce Hill
2024-08-13Add Int:sqrt()Bruce Hill
2024-08-13Support ^ exponentiation for integersBruce Hill
2024-08-13Fix rangesBruce Hill
2024-08-13Get rid of slow_* int functionsBruce Hill
2024-08-13Partially working first draft of bigintsBruce Hill
2024-08-11Add channels and threadsBruce Hill
2024-08-10Add Sets to the languageBruce 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-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-07-20Deprecate array:pairs() and switch iterator functions to use enumsBruce Hill
2024-07-14Support nested lambda closuresBruce Hill
2024-07-13Add iterator functionsBruce Hill