Commit Graph

791 Commits

Author SHA1 Message Date
75b7032363 Show error output on test failure 2024-09-03 15:14:08 -04:00
82849ba783 Use Text("...") literal constructor instead of Text$from_str("...")
function call.
2024-09-03 15:00:28 -04:00
29a87ff325 Support literal Text("blah") for text that is constant ASCII strings 2024-09-03 14:48:54 -04:00
de7b564a91 Escape question marks in patterns 2024-09-03 14:31:21 -04:00
91c5dc61c1 Change pattern syntax from [..pat] to {pat} 2024-09-03 14:27:09 -04:00
64143f0a13 Syntax overhaul (comments back to #, print statments to !!),
using `$/.../` for patterns and using a DSL for patterns
2024-09-03 13:19:41 -04:00
5feecff9d9 Deprecate Where and change channel API to use a boolean front value 2024-09-03 03:53:36 -04:00
5f0b099e14 Better behavior for invalid character names 2024-09-03 01:32:00 -04:00
b517f3b287 Fix codepoint names by falling back to block names 2024-09-03 01:30:07 -04:00
e98e77e1d3 Fix for missing codepoint names 2024-09-03 01:20:36 -04:00
7b44044b5e Updated docs 2024-09-03 01:18:22 -04:00
5441e6f287 Update docs 2024-09-03 00:54:48 -04:00
3df85ee6d8 Add [..int] and [..num] 2024-09-03 00:36:10 -04:00
6c22999ede Add text slicing 2024-09-02 23:56:08 -04:00
5aa5a5e99b Fix some stuff around Text:find() and text indexing 2024-09-02 23:47:16 -04:00
5d6fa135b1 Add Text:find_all() 2024-09-02 23:26:55 -04:00
9d2e9c02fe Fix splitting an empty string 2024-09-02 23:24:16 -04:00
6e4be93848 Add Text:join() and tests 2024-09-02 23:13:02 -04:00
6d7e09bf18 Add Text:split() and use that with an empty pattern instead of Text:clusters() 2024-09-02 23:07:08 -04:00
9214e621bf Add Text:lines() 2024-09-02 22:57:49 -04:00
5c093e6a4a Improve test 2024-09-02 22:42:02 -04:00
970f7a87ca Add %#k printing and fix issue with concatenating zero-length strings 2024-09-02 22:40:44 -04:00
708acda54e WIP fixes for synthetic graphemes and adding some text conversion
methods
2024-09-02 22:30:19 -04:00
5a78eb61c8 Bugfix for hex escapes adjacent to hex-like characters 2024-09-02 21:54:38 -04:00
96f276ec18 Fix test 2024-09-02 21:19:57 -04:00
cac560fdc3 Text fixes 2024-09-02 21:18:15 -04:00
55d758c3c4 Fix casing methods 2024-09-02 20:47:58 -04:00
0d8ef1d44b Fix printing issue 2024-09-02 20:34:00 -04:00
620ebeab8d Fixing string methods 2024-09-02 20:22:13 -04:00
337aa911a9 Auto promote to C String from Text 2024-09-02 19:53:09 -04:00
6d7a359f8f Bugfix some text replacement things 2024-09-02 19:49:52 -04:00
80a09e6dba Fix up some integer and print statement stuff 2024-09-02 19:29:43 -04:00
a4454df4b9 Bugfix int parsing 2024-09-02 19:23:35 -04:00
b0a8404bd7 Fix enums/structs 2024-09-02 19:18:21 -04:00
00a3117803 Bugfix 2024-09-02 19:07:51 -04:00
94761d9a5a Fix some stuff 2024-09-02 19:05:06 -04:00
185ddaca82 Bugfix 2024-09-02 18:54:53 -04:00
61e482f6f3 Initial WIP first past 2024-09-02 18:47:39 -04:00
f0f8f21870 Where should use empty struct typeinfos 2024-08-25 14:37:44 -04:00
9496c4abcb Minor cleanup 2024-08-25 14:35:38 -04:00
a197875214 Bugfix for say() when length is >512, and added back the newline
optional parameter (default=yes)
2024-08-23 12:42:10 -04:00
dceb925573 Bugfix for parsing ints 2024-08-23 11:38:54 -04:00
ad51b208b4 Overhaul of import syntax. Now everything uses use: use foo, `use
./foo.tm`, `use <foo.h>`, `use libfoo.so`
2024-08-22 14:02:48 -04:00
2055439be4 Variables can no longer hold function pointers, only closure_t's. This
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-21 00:49:22 -04:00
3c4f477b84 Bugfix some copy-on-write cases for when pointers are automatically
derefenced for method calls
2024-08-20 16:20:41 -04:00
5b945d8fc6 Remove unused parameter and add some docs on arrays 2024-08-20 16:00:58 -04:00
27eff711cd Update operators docs to include various undocumented features like
reducers and min/max and ++ and <>
2024-08-19 20:15:55 -04:00
c97ed75dff Add postfix conditionals for return/skip/stop/function calls 2024-08-19 19:30:22 -04:00
3ce239760e Remove TODO 2024-08-19 19:17:01 -04:00
d4bde89b5c Document functions 2024-08-19 15:57:06 -04:00