Commit Graph

33 Commits

Author SHA1 Message Date
7a741e65e6 Deprecate enum field access 2024-05-22 13:45:13 -04:00
a1d18fd422 Add C string type 2024-05-18 14:38:41 -04:00
e6297323ba Check function return type when promoting 2024-05-13 14:45:49 -04:00
02fe49a764 Deprecate interfaces (RIP) 2024-05-12 20:13:19 -04:00
e171d4a98c Fix up some promotion logic for closures 2024-05-12 19:21:44 -04:00
3c50c182a8 Typecheck method promotion for interfaces 2024-05-12 16:09:24 -04:00
4dbe046866 Add interface fields 2024-05-12 15:18:46 -04:00
d143c72b22 WIP, but functional interfaces 2024-05-12 13:50:06 -04:00
2e27b88c1b Improved syntax for optionals 2024-04-30 13:18:47 -04:00
63e6ba596a Change table syntax to {key:value} instead of {key=>value} 2024-04-13 13:39:44 -04:00
c73e96ff91 Add comparison operator <> and array method to sort by a custom
comparison function
2024-04-02 13:08:06 -04:00
adbb07fdc2 Module imports 2024-03-19 14:22:03 -04:00
a33f730617 Rearranging some files 2024-03-10 00:03:21 -05:00
2b83ab279d Add langs to the language 2024-03-09 18:22:12 -05:00
b04a1b3090 Implement lambdas and closures 2024-03-09 16:03:38 -05:00
955f047e06 First pass at lambdas/closures 2024-03-09 14:02:19 -05:00
0921f3723b Remove dead code 2024-03-09 13:11:57 -05:00
6bb1ebf031 Remove spurious promotion between structs 2024-03-08 13:04:04 -05:00
8fab88c56f Rename Str -> Text 2024-03-03 18:15:45 -05:00
bf5a725345 Definitively go with "Int" and "Num" over "Int64" and "Num64", plus add
Int__bits()
2024-03-03 13:37:05 -05:00
ec7a9e5f10 Initial pass at namespacing 2024-03-03 13:04:50 -05:00
d06c63c70c Table field access for .keys, .values, .default, .fallback 2024-02-25 14:35:25 -05:00
50fedc8f44 Fixing up structs 2024-02-24 14:29:40 -05:00
f9cc44f145 Fixing up enums 2024-02-20 13:06:03 -05:00
5ce55a6a29 Better table literals 2024-02-18 04:26:26 -05:00
bd0a618f4c Type compiling stuff 2024-02-18 02:34:39 -05:00
e5f706b258 Change syntax back to "enum(...)" and "struct(...)" 2024-02-18 02:07:12 -05:00
9564118202 Fix some more alignment issues and partial rename of Type_type 2024-02-17 22:09:44 -05:00
7355b2f7fe Change things up to use type params for all array and table methods 2024-02-17 18:38:29 -05:00
de3eeacfa0 Major cleanup 2024-02-17 16:56:19 -05:00
9901f09ca4 Syntax tweaks and cleanup 2024-02-14 13:43:23 -05:00
2c5401aaf7 Deprecate Char type 2024-02-12 00:41:49 -05:00
930c09f46d More features and progress 2024-02-08 00:52:18 -05:00