Commit Graph

864 Commits

Author SHA1 Message Date
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
61f9cfa12c Update learnXinY 2024-08-19 15:15:25 -04:00
ccdf9d319f Bugfix 2024-08-19 15:14:00 -04:00
3aad698b2b Update docs with links 2024-08-19 15:08:29 -04:00
352b5adfa5 Update readme 2024-08-19 15:02:22 -04:00
74f7c875e0 Dim the secret ellipsis 2024-08-19 14:53:51 -04:00
8430279ef4 Document struct(secret) 2024-08-19 14:50:53 -04:00
99ae23851c Add docs for lang 2024-08-19 14:41:04 -04:00
934b843b1c Add .text_content as a field on DSLs instead of a method 2024-08-19 14:29:58 -04:00
ea6f9797be Support DSL constructor working on DSL itself 2024-08-19 13:23:59 -04:00
4e732a718d Restructure things so that DSL constructors do proper escaping 2024-08-19 13:23:02 -04:00
3ddaf92505 Bugfix :text_content() for DSLs 2024-08-19 13:21:28 -04:00
178dca6e88 Clean up codegen for strings that are just a single interpolated value 2024-08-19 13:14:36 -04:00
69d913a56a Document deg 2024-08-19 12:46:01 -04:00
4765bb4120 Update test to reflect new numeric precision 2024-08-19 12:40:29 -04:00
8c4210ba01 Support demoting int literals 2024-08-19 12:39:45 -04:00
752be14eed Fix some numeric precision issues with how nums are printed 2024-08-19 01:46:37 -04:00
14b4a674e8 Fix precision of compiled numbers 2024-08-19 01:32:27 -04:00
08d6385674 Add -deg suffix: 90deg for specifying degrees. Also fixed percent
suffix
2024-08-19 01:22:17 -04:00
70d6a18f59 Add test for importing initialized values 2024-08-19 00:53:28 -04:00
c422806d87 Make sure imported/used modules are initialized properly 2024-08-19 00:52:35 -04:00
0bea662bfb Update docs 2024-08-19 00:38:41 -04:00
b272c8e38d Add colons 2024-08-19 00:34:11 -04:00
1e6bee6c72 Update docs 2024-08-19 00:32:12 -04:00
67e8f2dea0 Move docs into one folder 2024-08-19 00:23:02 -04:00
8363d53bd2 Update channel API to take a Where parameter 2024-08-18 23:59:13 -04:00
9e07c6adc7 Add Channel:peek() 2024-08-18 23:31:36 -04:00
1f16d63ac7 Update API for give/get 2024-08-18 23:25:35 -04:00