Commit graph

276 commits

Author SHA1 Message Date
Shunsuke Shibayama
b28c6bd118 Implement Record/TupleTypeSpec 2022-10-21 14:42:53 +09:00
Shunsuke Shibayama
f99c788b85 Add datetime 2022-10-21 10:58:21 +09:00
Shunsuke Shibayama
e26a89c0b3 Fix codegen bug 2022-10-20 23:22:46 +09:00
Shunsuke Shibayama
03a36f48a3 Add raw identifier 2022-10-20 18:53:35 +09:00
Shunsuke Shibayama
45e34c6773 Add DictTypeSpec 2022-10-20 09:17:55 +09:00
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
87170f9bb3 Implement module compatibility checking 2022-10-19 17:21:37 +09:00
Shunsuke Shibayama
f8dc56b1be Remove Rust-defined Python modules 2022-10-19 09:36:57 +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
4bb367f258 Impl subroutine type with default parameters 2022-10-18 10:50:41 +09:00
Shunsuke Shibayama
d0456ec1ee Implement default parameter 2022-10-18 10:27:57 +09:00
Shunsuke Shibayama
46b87e1ca3 Fix: variable to have VarInfo instead of Type 2022-10-18 00:25:47 +09:00
Shunsuke Shibayama
1154a54c39 Fix bugs 2022-10-17 02:08:04 +09:00
Shunsuke Shibayama
8c6997d3c9 Add os module 2022-10-16 11:33:21 +09:00
Shunsuke Shibayama
4e2b36bb96 Fix projection type inference bug 2022-10-15 11:15:16 +09:00
Shunsuke Shibayama
7776297de2 Fix inferring bug 2022-10-14 09:46:42 +09:00
Shunsuke Shibayama
d0fa924ea8 Fix visibility checking 2022-10-14 02:41:17 +09:00
Shunsuke Shibayama
145152575c Change grow's type 2022-10-14 01:07:14 +09:00
Shunsuke Shibayama
1229179bbc Update instantiate.rs 2022-10-14 01:02:17 +09:00
Shunsuke Shibayama
8571d7ff69 Update compare.rs 2022-10-14 01:01:46 +09:00
Shunsuke Shibayama
72e8242843 Fix bugs 2022-10-13 18:27:13 +09:00
Shunsuke Shibayama
983f87c35f Fix stack overflow 2022-10-13 17:37:44 +09:00
Shunsuke Shibayama
465b578505 Update tyvar.rs 2022-10-13 13:59:03 +09:00
Shunsuke Shibayama
173815b2d9 Fix tyvar instantiating bug 2022-10-13 13:33:44 +09:00
Shunsuke Shibayama
dcf41877cb Update re.rs 2022-10-13 01:34:24 +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
14d1eefed2 Add Context::init_builtin_consts 2022-10-12 23:52:15 +09:00
Shunsuke Shibayama
e8a0038a31 Update instantiate.rs 2022-10-12 23:32:59 +09:00
Shunsuke Shibayama
5af40aafc9 Fix Array.concat 2022-10-12 23:30:11 +09:00
Shunsuke Shibayama
67c7153f1a Add Writable! 2022-10-12 21:19:31 +09:00
Shunsuke Shibayama
313862d82c Add glob, re 2022-10-12 21:10:00 +09:00
Shunsuke Shibayama
08e501f103 Fix sub_unify with class&trait 2022-10-12 18:32:24 +09:00
Shunsuke Shibayama
57da071ba8 Fixed a bug with nested dict 2022-10-12 18:00:25 +09:00
Shunsuke Shibayama
ac841216e3 Stricter type checking for Array access 2022-10-12 16:42:40 +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
b6753b1d66 Impl FloorDiv for Int, Nat 2022-10-12 10:59:45 +09:00
Shunsuke Shibayama
f07878af48 Update inquire.rs 2022-10-12 10:41:54 +09:00
GreasySlug
81e88b4809 Clean: I fixed the order from Div to FloorDiv 2022-10-12 07:59:26 +09:00
Shunsuke Shibayama
fcb13f5239 Add FloorDiv trait definition 2022-10-12 02:41:43 +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
GreasySlug
33a33d7577 Add: builtin floordiv for float and ratio 2022-10-11 15:06:15 +09:00
GreasySlug
ea61870a33 Add: register floordiv 2022-10-11 15:06:15 +09:00