Commit graph

239 commits

Author SHA1 Message Date
Shunsuke Shibayama
379caacce9 fix: subtyping bugs 2023-05-20 21:43:53 +09:00
Shunsuke Shibayama
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +09:00
Shunsuke Shibayama
9cb98b8af0 fix: polymorphic subtyping bug 2023-05-18 22:48:31 +09:00
Shunsuke Shibayama
8886364da7 fix: sub-unification bugs 2023-05-10 22:47:49 +09:00
Shunsuke Shibayama
293f301a4b feat: add traits
* Sized
* Iterator
* Container
* Collection
* Indexable
* Mapping
2023-05-08 12:11:01 +09:00
Hanaasagi
ffb5f0e688 chore: fix all typo 2023-05-07 03:43:53 +09:00
Shunsuke Shibayama
e8117f83f9 fix: Inherit param bug 2023-05-06 19:22:23 +09:00
Shunsuke Shibayama
44930f1c25 fix: type declaration bugs 2023-05-06 00:09:56 +09:00
Shunsuke Shibayama
36885e34c3 fix: boundary checking bugs 2023-05-05 00:52:31 +09:00
GreasySlug
855be06c26 test(parser): update class def 2023-05-04 12:10:25 +09:00
Shunsuke Shibayama
0b0c663792 fix: a type casting bug 2023-04-29 14:20:10 +09:00
Shunsuke Shibayama
245d9eee84 fix: dict typing bugs 2023-04-27 15:51:56 +09:00
Shunsuke Shibayama
1e72cf20f1 fix: casting bugs 2023-04-27 13:58:15 +09:00
Shunsuke Shibayama
66cac2ccc2 fix: bugs & remove TypeCmpCache 2023-04-27 13:10:33 +09:00
Shunsuke Shibayama
1d140bc278
Merge pull request #421 from Hanaasagi/fix-tcp
REPL: fix the process of reading data from the server.
2023-04-27 01:25:44 +09:00
Shunsuke Shibayama
5536858363 test: add a mock test for the REPL server 2023-04-27 00:25:53 +09:00
Shunsuke Shibayama
b3e09f213f fix: type inference failure of as operator
Now the `as` operator is a kind of type ascription, i.e., a special operator.
2023-04-26 23:41:35 +09:00
Shunsuke Shibayama
a74309cbb3 fix: type-variable union bugs 2023-04-24 21:48:05 +09:00
Shunsuke Shibayama
3b9f56f53f fix: Context::substitute_typaram 2023-04-23 11:38:04 +09:00
Shunsuke Shibayama
1767df5de2 chore: add error msg for debug_assert! 2023-04-23 11:17:10 +09:00
Shunsuke Shibayama
3c40fc35e9 fix: #193
and many bugs
2023-04-22 23:43:03 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
d4c566477f fix: symbol mangling 2023-04-19 12:21:55 +09:00
Shunsuke Shibayama
839133863f feat: enhance assert casting 2023-04-16 23:32:52 +09:00
Shunsuke Shibayama
5eb680cb21 fix: #415 2023-04-16 21:13:48 +09:00
Shunsuke Shibayama
62b06022cb fix: visibility bug 2023-04-15 13:27:40 +09:00
Shunsuke Shibayama
0d43299cce fix: subroutine-subtyping bugs 2023-04-14 18:32:17 +09:00
Shunsuke Shibayama
fc85265d9f fix: union types bug & multi-pattern def bug 2023-04-10 22:26:46 +09:00
Shunsuke Shibayama
018080be41 fix: nested array bugs 2023-04-05 11:47:15 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
e232b6a518 fix: sub-unification problem 2023-03-31 00:37:09 +09:00
Shunsuke Shibayama
0ce0d1a073 test: update test cases 2023-03-29 21:20:28 +09:00
Shunsuke Shibayama
ccf02405d8 feat: add ==/!= narrowing 2023-03-29 01:32:29 +09:00
Shunsuke Shibayama
8bb91cfe11 chore: name the spawned thread 2023-03-22 22:00:38 +09:00
Shunsuke Shibayama
b40666d618 fix: subtyping bugs 2023-03-19 23:21:11 +09:00
Shunsuke Shibayama
988f9f6c99 fix: a sub-unification bug 2023-03-18 23:01:17 +09:00
Shunsuke Shibayama
f45c165499 feat: add some builtin python modules decls 2023-03-15 13:51:11 +09:00
Shunsuke Shibayama
5b65611c22 feat: add some typing APIs 2023-03-13 17:29:48 +09:00
Shunsuke Shibayama
0d8e574414 fix: add a field meta_t to TypeObj::Builtin 2023-03-13 13:07:35 +09:00
Shunsuke Shibayama
8f64853dad fix: type spec instantiating bug 2023-03-10 20:35:17 +09:00
Shunsuke Shibayama
257b38cec7 test: exclude some tests from default execution 2023-03-09 20:13:45 +09:00
Shunsuke Shibayama
814748a6be fix: constraints instantiation bug 2023-03-08 11:06:08 +09:00
Shunsuke Shibayama
1dae378678 test: add inherit.er 2023-03-07 21:48:52 +09:00
Shunsuke Shibayama
f7fb06e10a Update structural.er 2023-03-07 02:16:45 +09:00
Shunsuke Shibayama
fa2919e824 fix: bugs with enumeration of vars 2023-03-06 19:44:49 +09:00
Shunsuke Shibayama
b2425fa686 fix record subtyping bug (visibility) 2023-03-05 23:20:17 +09:00
Shunsuke Shibayama
78ff63b357 Update repl.rs 2023-03-05 20:06:56 +09:00
Shunsuke Shibayama
77e3f498ef fix: file name collision problem of Input 2023-03-05 20:02:36 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00
Shunsuke Shibayama
3d310714f1 feat: support var-args lambda function 2023-03-03 16:01:20 +09:00