Commit graph

44 commits

Author SHA1 Message Date
Shunsuke Shibayama
6f3f00a369 Fixed to register <builtins> to mod_cache 2022-09-22 10:37:39 +09:00
Shunsuke Shibayama
201b313cd2 Add builder & linker 2022-09-21 01:21:17 +09:00
Shunsuke Shibayama
671fbee518 merge from trait 2022-09-21 01:17:11 +09:00
Shunsuke Shibayama
f12c2ba723 Add SharedModuleCache
Rename: RcCell -> Shared
2022-09-20 11:51:18 +09:00
Shunsuke Shibayama
a9d4e5982b Merge branch 'main' into beta 2022-09-19 10:45:09 +09:00
Shunsuke Shibayama
d62e86d238 Update mod.rs 2022-09-19 00:55:54 +09:00
Shunsuke Shibayama
45df0849fb Rename types
`Function` -> `Func`
`Procedure` -> `Proc`
2022-09-18 17:57:47 +09:00
Shunsuke Shibayama
abb6bcd320 WIP: trait implementation 2022-09-17 20:39:13 +09:00
Shunsuke Shibayama
3b7eebe041 WIP: Implement explicit type variable declarations 2022-09-17 17:25:07 +09:00
Shunsuke Shibayama
aa527dcbc8 WIP: impl Trait 2022-09-17 01:42:49 +09:00
Shunsuke Shibayama
8f47e1e2dc Merge branch 'main' into trait 2022-09-16 10:56:31 +09:00
Shunsuke Shibayama
ba13cf25c8 Fix comparison operators types 2022-09-16 00:35:36 +09:00
Shunsuke Shibayama
4615c774f0 Fix __pow__, __mod__ types 2022-09-16 00:15:13 +09:00
Shunsuke Shibayama
bc67677ad6 Add Trait, Subsume 2022-09-15 11:37:12 +09:00
Shunsuke Shibayama
615d7937d9 Readable error messages 2022-09-14 21:46:12 +09:00
Shunsuke Shibayama
bc6eb37e39 Improve: show candidates for unification of projection-types 2022-09-13 15:34:27 +09:00
Shunsuke Shibayama
f8c2e4226e Fix Array!.map! type 2022-09-13 12:54:18 +09:00
Shunsuke Shibayama
605c2fc07e WIP: Fix type inferring bugs 2022-09-13 02:38:14 +09:00
Shunsuke Shibayama
2606638253 Update built-in types definitions 2022-09-12 15:50:53 +09:00
Shunsuke Shibayama
c6b8d6a6df Add ClassDefType 2022-09-12 13:09:54 +09:00
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Yuna Tomida
d956c3f61d
Follow clippy warnings 2022-09-10 17:32:25 +09:00
Shunsuke Shibayama
048e281268 Refactor: method_defs -> methods_list 2022-09-10 17:17:51 +09:00
Shunsuke Shibayama
892ab6df2f Implement inheritance check 2022-09-09 15:34:34 +09:00
Shunsuke Shibayama
60b7cce52e Fix bugs related to Ref/RefMut 2022-09-08 13:47:49 +09:00
Shunsuke Shibayama
e3e8a7e63c Impl Override feature 2022-09-08 09:53:32 +09:00
Shunsuke Shibayama
5029d71cbe Impl: auto generating of new 2022-09-07 14:48:02 +09:00
Shunsuke Shibayama
be8c0978f0 Add ClassType object 2022-09-06 01:29:56 +09:00
Shunsuke Shibayama
d5f2b5f450 Add register_gen_*
`register_*` renamed `register_const_*`
2022-09-05 14:24:30 +09:00
Shunsuke Shibayama
e860da2a15 WIP: impl type checker 2022-09-05 01:13:14 +09:00
Shunsuke Shibayama
cf0858ddde Add TypeObj 2022-09-04 00:46:15 +09:00
Shunsuke Shibayama
22cb113fcd Unify Type::Class/Trait 2022-09-03 22:22:49 +09:00
Shunsuke Shibayama
263c43d74b WIP: Impl DataPack type checking 2022-09-03 20:58:28 +09:00
Shunsuke Shibayama
094eb499fb Fix refinement inference bugs 2022-09-03 15:52:55 +09:00
Shunsuke Shibayama
78c0b60f3f Fix inference bugs 2022-09-03 15:22:44 +09:00
Shunsuke Shibayama
618f73f0c0 Unify poly_classes and poly_traits of Context 2022-09-03 12:07:27 +09:00
Shunsuke Shibayama
e1eebb252f Fix constant evaluation methods to return EvalResult 2022-09-03 11:59:18 +09:00
Shunsuke Shibayama
e2bd64ebe5 Move python module definition files 2022-09-03 01:52:23 +09:00
Shunsuke Shibayama
c4bff5d54a Add some const funcs & Remove Evaluator 2022-09-03 01:45:00 +09:00
Shunsuke Shibayama
f71024e9d2 Fix #110 2022-09-01 19:12:26 +09:00
Shunsuke Shibayama
90f057af94 Update mod.rs 2022-09-01 17:50:30 +09:00
Yuna Tomida
afbea9d83c
add forgotten inheritances in builtin initialization 2022-09-01 15:20:20 +09:00
Shunsuke Shibayama
a8e4658c67 Add importlib, io, socket, sys, time 2022-08-31 14:19:25 +09:00
Shunsuke Shibayama
af08945798 Split initialize.rs 2022-08-31 11:53:32 +09:00
Renamed from compiler/erg_compiler/context/initialize.rs (Browse further)