Commit Graph

446 Commits

Author SHA1 Message Date
fe28816b50 Fix REPL 2024-05-14 14:25:27 -04:00
77fb880cc4 Better error messages 2024-05-14 13:42:06 -04:00
495a597ef6 Better error messages 2024-05-14 13:38:53 -04:00
1924f75647 Support corecursive structs 2024-05-14 13:30:46 -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
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
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
79556883b4 Bugfixes 2024-05-12 19:45:49 -04:00
e171d4a98c Fix up some promotion logic for closures 2024-05-12 19:21:44 -04:00
ff9f4fe6cf Add TODO message 2024-05-12 16:27:03 -04:00
3c50c182a8 Typecheck method promotion for interfaces 2024-05-12 16:09:24 -04:00
3481042259 Simplify interfaces by requiring all functions are pointer methods 2024-05-12 15:56:24 -04:00
f6f89265b7 Guard against calling interfaces with values 2024-05-12 15:48:52 -04:00
4dbe046866 Add interface fields 2024-05-12 15:18:46 -04:00
8ada56c424 Tweak interface color formatting 2024-05-12 14:58:10 -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
64baf34ea0 Ignore compiled test binaries 2024-05-02 12:51:59 -04:00
c2daf6a928 Clean up 'when' syntax 2024-05-01 13:53:51 -04:00
e3ad5fdaaa Fix up some path issues during compilation/running/installation 2024-05-01 13:25:19 -04:00
2e27b88c1b Improved syntax for optionals 2024-04-30 13:18:47 -04:00
3c0a8f0b89 Syntax tweak: use ':' for blocks 2024-04-28 14:58:55 -04:00
5910998a19 Don't import "main" 2024-04-25 12:51:04 -04:00
061ec4fd8f Support naked 'use' statements 2024-04-24 13:53:37 -04:00
7aa6b2a496 Make autogenerated equality method more compact 2024-04-23 13:24:01 -04:00
6308325252 Add constructor/casting for ints and nums 2024-04-23 13:12:49 -04:00
005427744d Prevent shadowing variables 2024-04-23 13:04:31 -04:00
7a175d3b45 Catch namespace clobbering of types 2024-04-23 13:03:47 -04:00
3c64616ac1 Bugfix for doctest assignments that promote 2024-04-23 12:54:56 -04:00
fbb25decf0 Support struct literals as constants 2024-04-23 12:50:30 -04:00
803995aea2 Prevent doubling up file prefix 2024-04-23 12:25:27 -04:00
a329682d30 Remove _mix_ keyword 2024-04-22 17:26:33 -04:00
5fd85d7e0b Add Num.mix() 2024-04-22 14:49:36 -04:00
d2348f0894 Fix namespace vars 2024-04-21 15:08:53 -04:00
3590bf3407 Better imports for types 2024-04-21 14:58:33 -04:00
3f10460a6e Support loading imports as top-level statements 2024-04-21 11:22:11 -04:00
aa66a38b08 Bugfix 2024-04-21 11:14:54 -04:00
b7881a480f Bugfix for enum num types 2024-04-20 15:18:20 -04:00
8991898a2d Update docs 2024-04-20 15:12:25 -04:00
a4ffdb1798 Fix no-argument main funcs 2024-04-20 15:00:31 -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
831ba787bb Add license 2024-04-19 13:41:38 -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