Commit graph

113 commits

Author SHA1 Message Date
Shunsuke Shibayama
7defa71c86 Add json module 2022-10-20 08:39:52 +09:00
Shunsuke Shibayama
09b5f00305 Fix name resolving bug 2022-10-20 07:43:21 +09:00
Shunsuke Shibayama
cb4c2c7bbf Implement subtype ascription 2022-10-19 19:04:50 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
ae15f95191 Fix bugs 2022-10-18 17:17:56 +09:00
Shunsuke Shibayama
46b87e1ca3 Fix: variable to have VarInfo instead of Type 2022-10-18 00:25:47 +09:00
Shunsuke Shibayama
4e2b36bb96 Fix projection type inference bug 2022-10-15 11:15:16 +09:00
Shunsuke Shibayama
d0fa924ea8 Fix visibility checking 2022-10-14 02:41:17 +09:00
Shunsuke Shibayama
72e8242843 Fix bugs 2022-10-13 18:27:13 +09:00
Shunsuke Shibayama
b879788d2a Add Iterable 2022-10-13 01:30:40 +09:00
Shunsuke Shibayama
aa2b45bf86 Fix method call bug 2022-10-13 00:56:43 +09:00
Shunsuke Shibayama
fe339a7dc7 Fix pyimport bug 2022-10-13 00:23:14 +09:00
Shunsuke Shibayama
08e501f103 Fix sub_unify with class&trait 2022-10-12 18:32:24 +09:00
Shunsuke Shibayama
378dc1e6fc Delete ArrayType, etc. 2022-10-12 16:14:06 +09:00
Shunsuke Shibayama
e647c9545f Merge branch 'main' into dict 2022-10-12 13:20:05 +09:00
Shunsuke Shibayama
f07878af48 Update inquire.rs 2022-10-12 10:41:54 +09:00
Shunsuke Shibayama
6c4e1dca35 Downgrade erg_type from crate to module
This is to allow `ConstSubr` to have a `Context`
2022-10-12 02:28:25 +09:00
Shunsuke Shibayama
9c3acc8e19 Implement ProjMethod 2022-10-11 16:08:49 +09:00
GreasySlug
d9d78c5ec3 Fix: use filter_map instead of map() and unwrap() 2022-10-11 15:06:15 +09:00
Shunsuke Shibayama
befe2cf835 WIP 2022-10-09 18:07:52 +09:00
Shunsuke Shibayama
e74c9fa707 Fix an inferring bug 2022-10-09 10:41:03 +09:00
Shunsuke Shibayama
0ac63d8362 Merge branch 'main' into assert-casting 2022-10-09 09:37:45 +09:00
Shunsuke Shibayama
de1180387c Implement assert casting 2022-10-09 00:14:50 +09:00
Shunsuke Shibayama
2bc861cbde More names to put out with get_similar_name 2022-10-08 22:21:53 +09:00
Shunsuke Shibayama
c4d2e9ee4c Merge branch 'main' into pr/191 2022-10-07 22:15:35 +09:00
Shunsuke Shibayama
ebb01ccb7e change the return type of get_nominal_ctx 2022-10-07 21:55:09 +09:00
Shunsuke Shibayama
2cf4b5aba8 Add SetTypeSpec 2022-10-07 10:59:58 +09:00
Shunsuke Shibayama
154b56b2a7 Update inquire.rs 2022-10-06 13:47:50 +09:00
Shunsuke Shibayama
bd4073ec29 Add Context::get_receiver_ctx 2022-10-06 10:19:01 +09:00
Shunsuke Shibayama
e89bb869bf Raise the priority of traits in method search 2022-10-06 09:16:14 +09:00
Shunsuke Shibayama
59f6046916 Fix method type inference for type variables 2022-10-06 00:27:43 +09:00
Shunsuke Shibayama
4d7181f2f0 Add trait implementation check 2022-10-05 02:10:27 +09:00
Shunsuke Shibayama
29763062af Add ParamTy::KwWithDefault 2022-10-05 00:17:26 +09:00
Shunsuke Shibayama
a3f71120ae Fix type inferring bugs 2022-10-04 12:53:05 +09:00
Shunsuke Shibayama
1846767afa remove todo!()s 2022-10-03 12:25:28 +09:00
Shunsuke Shibayama
e55ab8c027 Add Show trait 2022-10-03 01:02:49 +09:00
Shunsuke Shibayama
4f6fbb50d0 Delete useless parameters 2022-10-03 00:46:39 +09:00
Shunsuke Shibayama
60bc94058a Changed type of tmp_tv_ctx from &mut to & 2022-10-02 20:12:25 +09:00
Shunsuke Shibayama
33edcd2e1c Implement Python class method declarations 2022-09-30 18:21:18 +09:00
Shunsuke Shibayama
622e1fa350 Fix lowerer crash bugs 2022-09-30 15:46:27 +09:00
Shunsuke Shibayama
96c5527134 Improve: inferring the overall type from the method 2022-09-30 01:22:22 +09:00
Shunsuke Shibayama
23a6f630c9 Fix import to be called from anywhere 2022-09-29 11:48:38 +09:00
Shunsuke Shibayama
348a37a746 Fix to continue compilation even if module compilation fails 2022-09-27 23:18:15 +09:00
Shunsuke Shibayama
4d6c7f7590 Add d.er syntax 2022-09-26 21:49:33 +09:00
Shunsuke Shibayama
5aae4a69a5 Split cache between Python and Erg modules 2022-09-26 14:03:06 +09:00
Shunsuke Shibayama
f6e1a7b117 Remove unwraps 2022-09-24 19:15:55 +09:00
Shunsuke Shibayama
10360269f5 Update inquire.rs 2022-09-24 02:16:11 +09:00
Shunsuke Shibayama
c6de914f3f Fix #177 2022-09-23 12:02:53 +09:00
Shunsuke Shibayama
9a4a702ebe Fixed to allow types to be uniquely determined between modules 2022-09-22 13:23:43 +09:00
Shunsuke Shibayama
6f3f00a369 Fixed to register <builtins> to mod_cache 2022-09-22 10:37:39 +09:00