Commit Graph

141 Commits

Author SHA1 Message Date
e9abf8a370 Prefer 'sizeof(t[n])' over 'sizeof(t)*n' 2024-06-06 15:05:35 -04:00
b4dc858794 Change how floats are serialized 2024-06-01 11:25:14 -04:00
8df8f5bb82 Changes to dependency tracking, compilation, and object linking 2024-05-28 00:30:09 -04:00
128b1dd239 Move standard initialization code into tomo_init() function 2024-05-25 13:56:34 -04:00
760f46e71c Reduce codegen output for enums without data attached to any tags 2024-05-21 13:42:33 -04:00
c5c3be9e5d Deprecate Text.slice() 2024-05-20 15:27:42 -04:00
5b1960859f Hook up Text.has(), Text.trimmed(), Text.without() 2024-05-20 15:19:31 -04:00
7dddfb71a0 Add Text.slice() 2024-05-19 14:38:44 -04:00
1df26851d7 Add syntax for "inline C(...)" 2024-05-18 16:31:34 -04:00
e439fcd1e2 Clean up imports a bit 2024-05-18 14:42:35 -04:00
a1d18fd422 Add C string type 2024-05-18 14:38:41 -04:00
31814db0a6 Bugfix for Num.near() 2024-05-14 00:40:13 -04:00
8bafe71f17 Add nested indentation for doctests that recursively invoke other
doctests while evaluating
2024-05-14 00:30:57 -04:00
934fd8a173 Revert "Deprecate stack macro"
This reverts commit 00ec635718.
2024-05-12 20:12:00 -04:00
00ec635718 Deprecate stack macro 2024-05-12 19:47:34 -04:00
d143c72b22 WIP, but functional interfaces 2024-05-12 13:50:06 -04:00
a20f522fd6 Support space indents 2024-05-02 13:48:20 -04:00
2e27b88c1b Improved syntax for optionals 2024-04-30 13:18:47 -04:00
5fd85d7e0b Add Num.mix() 2024-04-22 14:49:36 -04:00
2dd9392ef9 Fix USE_COLOR 2024-04-20 14:58:32 -04:00
ff3e1c1328 Move arg parsing to inline logic in main() function 2024-04-20 14:55:27 -04:00
e33aff908b Inline color file 2024-04-20 14:24:37 -04:00
e79ce52125 More heap code cleanup 2024-04-19 13:48:06 -04:00
78bcce2872 Heap cleanup 2024-04-19 13:40:05 -04:00
b25e8e86d4 Clean up heap code 2024-04-19 13:36:19 -04:00
3b0dce04a0 Add heapify(), heap_push(), and heap_pop() 2024-04-19 13:29:04 -04:00
369c601a56 Invert escaping so user symbols get prepended with "$" and builtin
symbols don't
2024-04-16 13:50:07 -04:00
4c5dc9443e Rename SSS_HASH_VECTOR -> TOMO 2024-04-14 21:58:49 -04:00
c8e2f0faad Rudimentary stack traces 2024-04-13 15:20:42 -04:00
63e6ba596a Change table syntax to {key:value} instead of {key=>value} 2024-04-13 13:39:44 -04:00
48d272c3fa Support Text arrays as main function arguments 2024-04-12 13:43:23 -04:00
6c01eef851 Introducing the main() function 2024-04-12 13:09:31 -04:00
17cb6ffd88 Add Bool.from_text() 2024-04-10 13:33:40 -04:00
e6f78f1d89 Add from_text() method for ints/nums 2024-04-10 13:23:49 -04:00
c3a47751a5 Publicly export CORD_asprintf symbol for libfile 2024-04-03 03:04:14 -04:00
728cd8026c Bugfixes for long strings in docstring tests 2024-04-02 23:40:03 -04:00
fae2b2caa0 Add array:sample() 2024-04-02 23:28:59 -04:00
95100469b6 Add array:sorted() 2024-04-02 13:13:33 -04:00
c73e96ff91 Add comparison operator <> and array method to sort by a custom
comparison function
2024-04-02 13:08:06 -04:00
04d9adc813 Switch naming convention to use '$' in symbols more 2024-03-29 12:54:31 -04:00
d94053ca77 Add array:reversed() 2024-03-26 14:59:52 -04:00
135e23094c Improve codegen for table/array iteration by inlining the iteration
macros
2024-03-26 14:02:48 -04:00
d07d2f2530 Bugfix for text replacement 2024-03-24 18:19:59 -04:00
a29d2ed6d1 Improve COW/etc handling for update assignments 2024-03-24 14:28:20 -04:00
20d75db79a Fix/improve assignment to arrays and tables 2024-03-22 13:53:23 -04:00
adbb07fdc2 Module imports 2024-03-19 14:22:03 -04:00
d94c1057ac Improve codegen for enums by eliminating unnecessary methods 2024-03-18 14:11:56 -04:00
7622f62935 More file comments 2024-03-18 12:57:49 -04:00
9932841530 Improve comprehensions for both arrays and tables 2024-03-17 14:46:36 -04:00
6f70286a4b Clean up codegen to not use macros 2024-03-14 13:50:24 -04:00