Commit graph

30 commits

Author SHA1 Message Date
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
7e08f0b0c6 Fix type checker bugs 2022-09-05 23:46:31 +09:00
Shunsuke Shibayama
4a8572a9fe Fix type inference imcompleteness
Add intersection type inference
2022-09-05 21:55:16 +09:00
Shunsuke Shibayama
d5f2b5f450 Add register_gen_*
`register_*` renamed `register_const_*`
2022-09-05 14:24:30 +09:00
Shunsuke Shibayama
fb0d2f5737 Refactor 2022-09-05 11:11:57 +09:00
Shunsuke Shibayama
2320ff0360 Refactor 2022-09-05 10:11:03 +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
174b37d60c Impl Display for ConstSubr 2022-09-03 23:39:29 +09:00
Shunsuke Shibayama
f4cb9f67a5 Fix a refinement type bug 2022-09-03 22:38:03 +09:00
Shunsuke Shibayama
22cb113fcd Unify Type::Class/Trait 2022-09-03 22:22:49 +09:00
Shunsuke Shibayama
094eb499fb Fix refinement inference bugs 2022-09-03 15:52:55 +09:00
Shunsuke Shibayama
c4bff5d54a Add some const funcs & Remove Evaluator 2022-09-03 01:45:00 +09:00
Shunsuke Shibayama
0844fb2f7a Change Parser's parsing algorithm
The LHS value is first parsed as the RHS value, and when `=` or `->` comes in, it is converted as the LHS value.
2022-09-02 01:19:43 +09:00
Shunsuke Shibayama
a8e4658c67 Add importlib, io, socket, sys, time 2022-08-31 14:19:25 +09:00
Shunsuke Shibayama
705a13c5b5 Update version (v0.3.2) 2022-08-30 23:33:42 +09:00
Shunsuke Shibayama
de7832bf33 Implement variable-length/keyword arguments 2022-08-30 20:31:56 +09:00
Shunsuke Shibayama
6fd61efc76 Add Tuple1~Tuple8 2022-08-29 14:36:14 +09:00
Shunsuke Shibayama
b730383065 Fix a type inference bug for dependent procedural methods 2022-08-29 00:48:52 +09:00
Shunsuke Shibayama
8e50ed8384 Update version (v0.3.0) 2022-08-28 03:20:26 +09:00
Shunsuke Shibayama
bce13ef270 Implement code generation for records 2022-08-28 03:14:26 +09:00
Shunsuke Shibayama
4232243842 Fix type system bugs 2022-08-28 01:41:36 +09:00
Shunsuke Shibayama
026b891c22 WIP: Improve type inference system 2022-08-27 23:51:35 +09:00
Shunsuke Shibayama
baab3f1f90 WIP: Restructuring Context 2022-08-26 23:22:45 +09:00
Shunsuke Shibayama
6727b00054 Split custom types into Class and Trait 2022-08-26 17:24:55 +09:00
Shunsuke Shibayama
8e73b9b6b7 Add TypeCmpCache 2022-08-26 14:37:39 +09:00
Shunsuke Shibayama
400c173f38 Move all constructors of Type to constructors 2022-08-26 12:39:35 +09:00
Shunsuke Shibayama
5b5234f477 Create erg_type crate 2022-08-26 11:52:11 +09:00
Shunsuke Shibayama
e4e89f38f9 Create erg_type crate 2022-08-26 09:41:41 +09:00