Commit Graph

898 Commits

Author SHA1 Message Date
3f16e95127 USAGE and HELP need an underscore prefix so they're not imported into
other files. Also fixed up dependency tool so it works good now
2024-09-07 00:26:30 -04:00
c454bfa3c4 Some improvements 2024-09-07 00:03:17 -04:00
8670cbf943 Make {start} and {end} non-capturing 2024-09-06 23:12:15 -04:00
a38d023da1 Update files and add new dependency printer tool 2024-09-06 23:02:15 -04:00
6cc5562791 Support using text in conditionals 2024-09-06 23:01:31 -04:00
4503824271 Add path resolving 2024-09-06 22:39:42 -04:00
a90ef1973f Don't parse suffixes on interpolations 2024-09-06 22:30:46 -04:00
6ae210f37b Add resolve_path() 2024-09-06 15:39:20 -04:00
594d1a627f Fix some C string and path resolving issues 2024-09-06 15:39:00 -04:00
9581231408 Remove unused 'import' keyword 2024-09-06 15:01:27 -04:00
fba8c90687 Fix partial edit 2024-09-06 14:50:48 -04:00
4291b36e2c Fix header compilation 2024-09-06 14:50:00 -04:00
176205a22d Print stack trace if $TOMO_STACKTRACE is set 2024-09-06 14:41:34 -04:00
817235cfbc Check for .tm file extension 2024-09-06 14:27:49 -04:00
7b57090564 Use 'when' expression 2024-09-06 14:16:45 -04:00
11fa4f548c Support 'when' statements as expressions 2024-09-06 14:15:55 -04:00
7239ec4083 Bugfixes for lambdas that have a trailing abort statement (and print
statements aren't those)
2024-09-06 12:33:28 -04:00
507b6df5c0 Document coroutine 2024-09-06 12:33:18 -04:00
a7c1d27b09 Example coroutine library 2024-09-06 12:29:36 -04:00
589dacba30 Tweak gitignore 2024-09-06 12:20:58 -04:00
c94fec092e Add example 2024-09-06 12:19:52 -04:00
79d08c809a Ensure HELP and USAGE are initialized when running CLI program 2024-09-06 12:18:28 -04:00
b36d4eaf67 Fix test 2024-09-06 12:17:43 -04:00
4b352f89a3 Add Shell dsl type 2024-09-06 11:37:33 -04:00
5221584d28 Minor cleanup 2024-09-06 11:37:16 -04:00
57b9719715 Add convenience function for debug printing 2024-09-06 11:36:42 -04:00
fa56d845c0 Add missing file 2024-09-06 11:35:42 -04:00
c075deeab4 Actual fix for incref issue 2024-09-06 04:14:50 -04:00
dc7ee868a6 Speculative fix for some incref issues 2024-09-06 04:11:00 -04:00
89a1f8a401 Misc fixes 2024-09-06 04:10:41 -04:00
e47c45a93b Bugfix for "":join(table.keys) 2024-09-06 03:46:35 -04:00
84a4d94ca6 Flush stdout more 2024-09-06 03:29:51 -04:00
c789d25878 Text overhaul 2024-09-06 03:29:07 -04:00
e0356e07c6 Uhhhh, apparently clang treats ??? as a trigraph unless you specify some
compiler flags.
2024-09-06 00:28:03 -04:00
44892df4c5 Add Text.trim() 2024-09-06 00:03:28 -04:00
1000423d2b Some const stuff 2024-09-05 17:06:27 -04:00
bac14fa6c7 Fully clean up siphash code and fix some issues 2024-09-05 16:23:05 -04:00
47e8972427 Update 'use' test to include a '../examples/vectors.tm' import as well
as an unnamed import
2024-09-05 15:49:18 -04:00
df61a0805f Correctly resolve '../' paths 2024-09-05 15:47:00 -04:00
3444d1652d Add comment 2024-09-05 15:44:49 -04:00
d99f0271ad Revert "Use stack() macro" (actually needs to work this way)
This reverts commit ed36765b42.
2024-09-05 15:43:52 -04:00
9f8abd5cd1 Add vectors to the examples 2024-09-05 15:41:04 -04:00
72502b099b Document examples 2024-09-05 15:38:58 -04:00
52717c14e6 Add some examples 2024-09-05 15:37:33 -04:00
ed36765b42 Use stack() macro 2024-09-05 15:35:40 -04:00
e92ea6fe1b Remove unused macro 2024-09-05 15:33:43 -04:00
04c8fb0362 Replace $Type with Type$info for builtin TypeInfos 2024-09-05 15:31:54 -04:00
391c1b6bde Rename table_t -> Table_t 2024-09-05 14:57:31 -04:00
abe45a3c25 Rename array_t -> Array_t 2024-09-05 14:56:37 -04:00
c82b664db9 Slightly clean up CLI usage error code for no-argument programs 2024-09-05 14:44:52 -04:00