Commit Graph

1337 Commits

Author SHA1 Message Date
87d3bf928a Fix error message 2024-11-03 13:48:40 -05:00
078b443185 Add a repeat keyword 2024-11-03 12:20:53 -05:00
d905fa4888 Minor fix 2024-11-03 11:25:18 -05:00
92a593b80f Support reductions for comparison operators like == and < 2024-11-02 22:34:35 -04:00
0b7a0dd043 Change reducers to use (OP: ...) syntax and return an optional value 2024-11-02 20:22:19 -04:00
985011aed8 Update header 2024-11-02 13:53:22 -04:00
be2673ef2b Make Text:find() return an optional int 2024-11-02 13:51:58 -04:00
a60e0e5e9a Remove unused args for end_test() 2024-10-31 01:30:12 -04:00
bbbfc692fc Tweak doctest output so it outputs source info 2024-10-31 01:28:58 -04:00
e0fb49376b Fix type members not appearing in headers for declared values 2024-10-30 14:28:20 -04:00
de3628c5b5 Fix for methods not appearing in headers 2024-10-30 14:27:02 -04:00
a8766be2ae Make compiler output spam a little dimmer 2024-10-30 14:09:56 -04:00
fb683a2b1b Organize typedef headers so the typedefs come before the namespace
members
2024-10-30 14:02:34 -04:00
bdca4fc6e1 Fix header inline functions to use extern inline and some GCC magic 2024-10-30 13:59:15 -04:00
a0178a1e0c Bugfix for empty struct typeinfos 2024-10-30 02:44:15 -04:00
61af5802a7 Remove redundant warnings 2024-10-30 02:16:39 -04:00
9ebb039a81 Fix up some GCC compiler flag options for LTO and inlining 2024-10-29 23:14:31 -04:00
3e019df9f4 Add -Werror to tomo compile flags 2024-10-29 22:23:48 -04:00
7cd67dd7f3 Add file globbing 2024-10-29 14:36:49 -04:00
e3c1dd2df5 Add PATCH 2024-10-28 14:37:30 -04:00
ce2aebe910 Update docs to reflect deprecation of "&" stack references 2024-10-27 21:14:27 -04:00
efb7be5bc4 Fix up examples to no longer use '&' 2024-10-27 20:49:03 -04:00
33f1af8e71 Fixes for places that used Text$find() 2024-10-27 20:45:10 -04:00
63a5032ca0 Disallow mutation of read-only views 2024-10-27 20:35:30 -04:00
052316261a Finish deprecating stack refs with & 2024-10-27 20:35:30 -04:00
41c0ea851a Deprecate "&" for stack references 2024-10-27 20:35:12 -04:00
df258c1773 Remove an unnecessary ARRAY_COPY() 2024-10-27 19:39:34 -04:00
71d6787541 Bugfix: for array:find() and array:sorted() and array:binary_search(),
do an ARRAY_COPY() if a user closure is being passed in, because the
closure could mutate the array and the semantics of those functions
should be to return information based on a snapshot
2024-10-27 19:33:28 -04:00
0d615443dc Update DateTime API to have separate methods for getting each component
instead of get(...)
2024-10-27 18:41:00 -04:00
f4d22958f7 Add an include 2024-10-27 12:58:37 -04:00
213ae74e32 Minor imports cleanup 2024-10-25 14:13:24 -04:00
29d1d74d7a Move unistr header out of tomo header 2024-10-25 14:05:07 -04:00
67702b2d77 Fix issue with non-ID chars in filenames 2024-10-10 01:09:17 -04:00
a2490f4a50 Clean up codegen for when statements 2024-10-09 21:01:43 -04:00
b85f76f6c0 Update readme 2024-10-09 14:49:00 -04:00
33d3e22023 Update example 2024-10-09 13:50:02 -04:00
5a80ff0db3 Update docs to standardize function signature formatting 2024-10-09 13:48:45 -04:00
63d48e9feb Update docs 2024-10-09 13:28:19 -04:00
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
47fca94606 Bugfix for 1e-2-3 2024-10-09 04:17:34 -04:00
a25699282d Tidy up some function annotations to use func(x,y:Foo) syntax instead of
func(x:Foo,y:Foo)
2024-10-09 02:22:32 -04:00
9dcc7ee7a9 Get rid of fn:func(Int,Num) syntax (unnamed arguments) 2024-10-09 01:56:33 -04:00
a3dab7e726 Add a test for mutating closed-over variables in a defer statement 2024-10-09 00:47:42 -04:00
7c853f83c9 Fix closure handling behavior for defer so that it can mutate
closed-over variables.
2024-10-09 00:45:52 -04:00
fcbdf18315 Bugfix for defer using enclosing scope 2024-10-09 00:36:00 -04:00
7e7ac77021 Document reductions 2024-10-08 23:39:37 -04:00
d741763293 Disallow reductions over tables (use .keys or .values instead) 2024-10-08 23:28:20 -04:00
37192d7206 Support reductions over sets 2024-10-08 23:26:49 -04:00
fc0ad68b50 Bugfix for reductions over conditional comprehensions that have no values. 2024-10-08 21:46:09 -04:00
6ae27d409a Better message 2024-10-08 21:46:03 -04:00