Commit graph

463 commits

Author SHA1 Message Date
Shunsuke Shibayama
a249de98b3 Refactor: AttrDef -> ReDef 2022-12-27 14:07:39 +09:00
Shunsuke Shibayama
24627eb26c Update random.d.er 2022-12-27 13:04:47 +09:00
Shunsuke Shibayama
6ad4e0d964 Refactor 2022-12-27 11:39:36 +09:00
Shunsuke Shibayama
778082329a Warn when defining a var has a built-in of the same name 2022-12-27 11:26:15 +09:00
Shunsuke Shibayama
3391d5da0b Update mod.rs 2022-12-27 11:13:05 +09:00
Shunsuke Shibayama
16b50347d4 Implement is!/isnot! operator 2022-12-27 01:37:20 +09:00
Shunsuke Shibayama
f0ecf59af1 Enhance: type instantiating 2022-12-26 23:02:09 +09:00
Shunsuke Shibayama
a1673e83c9 Update register.rs 2022-12-26 17:20:01 +09:00
Shunsuke Shibayama
a0b062a972 Update register.rs 2022-12-26 16:47:18 +09:00
Shunsuke Shibayama
1c607cfe5b Update register.rs 2022-12-25 18:02:06 +09:00
Shunsuke Shibayama
9e9f7d3402 Update register.rs 2022-12-25 17:39:15 +09:00
Shunsuke Shibayama
099b4587e5 Fix broken tests 2022-12-25 12:37:41 +09:00
Shunsuke Shibayama
b8e575ea99 Improve: allow type declarations before variable definitions 2022-12-25 01:36:41 +09:00
Shunsuke Shibayama
ee04d96487 Update hint.rs 2022-12-24 17:55:56 +09:00
Shunsuke Shibayama
34ea4be7ed Update register.rs 2022-12-24 17:46:16 +09:00
Shunsuke Shibayama
8077e55b90 Update tyvar.rs 2022-12-24 14:46:01 +09:00
Shunsuke Shibayama
c5e39f4a62 Fix a subtyping bug 2022-12-24 14:42:39 +09:00
Shunsuke Shibayama
68b6d31b65 Update mod.rs 2022-12-24 12:48:21 +09:00
Shunsuke Shibayama
e08b7b9a08 Add min/max 2022-12-24 12:23:43 +09:00
Shunsuke Shibayama
bce00747af Update inquire.rs 2022-12-23 22:44:45 +09:00
Shunsuke Shibayama
d8f7e386c8 Enhance: empty classes can be generated by Class() 2022-12-23 22:16:22 +09:00
Shunsuke Shibayama
da9dc814e5 Remove unnecessary code 2022-12-23 01:38:14 +09:00
Shunsuke Shibayama
41592e0821 Revert "Update inquire.rs"
This reverts commit 10f6b362da.
2022-12-23 01:31:49 +09:00
Shunsuke Shibayama
10f6b362da Update inquire.rs 2022-12-23 00:56:29 +09:00
Shunsuke Shibayama
0b7495fdea Enhance: allow multiple funcdefs in Python compatible mode 2022-12-23 00:52:33 +09:00
Shunsuke Shibayama
b69ef5e093 Update register.rs 2022-12-22 23:49:21 +09:00
Shunsuke Shibayama
af3ece6a1b Fix a subtype unification bug 2022-12-22 17:56:42 +09:00
Shunsuke Shibayama
dfa119672a Minor changes 2022-12-22 09:25:11 +09:00
Shunsuke Shibayama
506323b7eb Fix undo leaks 2022-12-21 19:41:00 +09:00
Shunsuke Shibayama
fca322d784 Add a testcase for subtyping.er 2022-12-21 18:46:34 +09:00
Shunsuke Shibayama
31045a338f Refactor 2022-12-21 18:13:24 +09:00
Shunsuke Shibayama
e382aca7fc Update mod.rs 2022-12-21 15:54:30 +09:00
Shunsuke Shibayama
06e0b9c1ae Fix a scope escaping bug 2022-12-21 14:32:46 +09:00
Shunsuke Shibayama
24b8f3f63d Fix a pattern desugaring bug 2022-12-19 22:44:54 +09:00
Shunsuke Shibayama
5a7c586f8b Fix #298 2022-12-19 09:07:03 +09:00
Shunsuke Shibayama
261927e0f9 Add Never 2022-12-17 12:45:35 +09:00
Shunsuke Shibayama
4ca3285853 Add Never type 2022-12-17 12:41:56 +09:00
Shunsuke Shibayama
8a7469cb09 Supports __call__ type inference 2022-12-17 11:56:45 +09:00
Shunsuke Shibayama
17eff747ef Update mod.rs 2022-12-17 11:11:59 +09:00
Shunsuke Shibayama
0b1c195221 Update inquire.rs 2022-12-17 11:09:49 +09:00
Shunsuke Shibayama
d4f8f17e41 Update mod.rs 2022-12-17 10:37:46 +09:00
Shunsuke Shibayama
cd1215cc82 Update mod.rs 2022-12-16 22:17:43 +09:00
Shunsuke Shibayama
f05b3e43ad Update mod.rs 2022-12-16 19:57:01 +09:00
Shunsuke Shibayama
25dd799ff5 Update register.rs 2022-12-16 17:53:57 +09:00
Shunsuke Shibayama
e5f4e9cbea Update register.rs 2022-12-16 17:51:57 +09:00
Shunsuke Shibayama
0fc53b3d65 Implement return, yield methods 2022-12-16 17:34:59 +09:00
Shunsuke Shibayama
8022f8c846 Add return, yield methods 2022-12-16 17:26:13 +09:00
gmshiba
561a384014 Fix warnings
Fix warnings
2022-12-16 02:29:07 +09:00
Shunsuke Shibayama
cfac1128bc Update instantiate.rs 2022-12-16 02:03:58 +09:00
Shunsuke Shibayama
4a46c09648 Fix: a bug that all history to be erased when an error occurred in the REPL 2022-12-15 23:32:14 +09:00