Commit graph

239 commits

Author SHA1 Message Date
Shunsuke Shibayama
f2ad45878a feat: add Hash trait 2023-08-20 17:33:42 +09:00
Shunsuke Shibayama
6ce41ef8bd fix: record type subtyping 2023-08-19 23:30:34 +09:00
Shunsuke Shibayama
95595ef67c fix: array type checking bug 2023-08-19 22:04:06 +09:00
Shunsuke Shibayama
5affa5065f fix: dynamic type checking bugs 2023-08-19 16:34:07 +09:00
Shunsuke Shibayama
fa2a59ae83 feat: support json backend 2023-08-18 22:19:19 +09:00
Shunsuke Shibayama
5ac0012255 Merge branch 'main' into named_tuple 2023-08-18 02:12:37 +09:00
Shunsuke Shibayama
5ef1288113 fix: recursive type bug 2023-08-17 22:44:54 +09:00
Shunsuke Shibayama
efcf23b04d fix: iterator bugs 2023-08-17 20:01:05 +09:00
Shunsuke Shibayama
927de74eee chore: add Self substitution 2023-08-17 19:25:17 +09:00
Shunsuke Shibayama
ed245f6c08 fix: self typing bug 2023-08-17 16:52:50 +09:00
Shunsuke Shibayama
2e9fb48f2e fix: in operator
* remove `In` trait, `__in__`, `__notin__` function
* desugar to `__contains__`
* impl Collection for Array, Set, Tuple
2023-08-13 01:01:06 +09:00
Shunsuke Shibayama
cbe2485998 Update common.rs 2023-08-04 22:43:06 +09:00
Shunsuke Shibayama
9308a910ca fix: #442 2023-07-24 09:32:31 +09:00
Shunsuke Shibayama
962c006949 fix: for codegen bug 2023-07-24 01:24:20 +09:00
Shunsuke Shibayama
4053e1646f Merge branch 'main' into codegen-bug 2023-07-23 23:27:56 +09:00
Shunsuke Shibayama
0152e368ab feat: support Array, Str, Bytes slice 2023-07-15 12:29:07 +09:00
Shunsuke Shibayama
e3b479ebf7 feat: polymorphic type class members 2023-07-14 01:53:06 +09:00
Shunsuke Shibayama
91aaa0702a Merge branch 'main' into codegen-bug 2023-07-12 16:51:03 +09:00
Shunsuke Shibayama
9025fe7e99 feat: add bin/oct/hex literal 2023-07-12 16:31:39 +09:00
Shunsuke Shibayama
dc86be1125 fix: if codegen bug 2023-07-09 22:27:42 +09:00
Shunsuke Shibayama
98c4b480b7 fix: while codegen bug 2023-07-09 21:34:12 +09:00
Shunsuke Shibayama
7be1d42c03 fix: match codegen bug 2023-07-09 21:07:10 +09:00
Shunsuke Shibayama
8c81a43c79 fix: string interpolation bug 2023-07-08 15:40:41 +09:00
Shunsuke Shibayama
3f9e70bd9d fix: Self type bugs 2023-07-08 13:17:09 +09:00
Shunsuke Shibayama
fcf97fb172 fix: default-paramaters bugs 2023-07-08 02:32:14 +09:00
Shunsuke Shibayama
7d696b5aa5 fix: subtyping bug 2023-07-07 23:45:45 +09:00
Shunsuke Shibayama
9e6f1ffa9a fix: refinement types bug 2023-07-03 19:51:33 +09:00
Shunsuke Shibayama
53cd052dc3 fix: module member resolution bug 2023-06-29 16:07:21 +09:00
Shunsuke Shibayama
03a42c6621 fix: cyclic modules accessing bug 2023-06-29 12:25:17 +09:00
Shunsuke Shibayama
f6e4ea4e28 WIP 2023-06-28 13:26:11 +09:00
Shunsuke Shibayama
dc1b34bc10 test: add a bad pattern 2023-06-28 01:03:17 +09:00
Shunsuke Shibayama
3e137da0a1 WIP: support cyclic modules 2023-06-28 00:38:41 +09:00
Shunsuke Shibayama
eaeb659a7d fix: errors in other modules are ignored 2023-06-22 16:32:10 +09:00
Shunsuke Shibayama
75f4c206f6 feat: parallelize the analysis process 2023-06-18 15:58:32 +09:00
Shunsuke Shibayama
d697d40760 fix: codegen bug 2023-06-17 16:18:33 +09:00
Shunsuke Shibayama
46cf002a71 fix: Shared<usize> -> AtomicShared 2023-06-10 14:10:55 +09:00
Shunsuke Shibayama
0840d9bf60 fix: subtyping bug 2023-06-10 11:16:30 +09:00
Shunsuke Shibayama
924b22a171 Merge branch 'main' into pr/320 2023-06-09 22:04:44 +09:00
Shunsuke Shibayama
d75ac0c17b chore: add erg_common::io module 2023-06-09 12:11:13 +09:00
Shunsuke Shibayama
324618dbdc chore(parser): return AST and Warnings 2023-06-09 02:36:41 +09:00
Shunsuke Shibayama
d4b78eb020 fix: distinguish between access to class/instance attr 2023-06-08 22:17:52 +09:00
Shunsuke Shibayama
ef30a05708 fix: discard params 2023-06-08 02:33:33 +09:00
Shunsuke Shibayama
4851826b3a fix: type-specification bug 2023-06-07 21:31:12 +09:00
Shunsuke Shibayama
c8ea6f6c9b fix: nested polymorphic type check bug 2023-06-06 00:04:18 +09:00
GreasySlug
9f8746c4de Merge branch 'main' of https://github.com/GreasySlug/erg into feature/parser-err 2023-06-04 20:50:51 +09:00
Shunsuke Shibayama
68a27f8eca Revert "test: fix stack overflow" 2023-06-02 23:46:48 +09:00
Shunsuke Shibayama
1a26c841a9 test: fix stack overflow 2023-06-02 23:13:11 +09:00
Shunsuke Shibayama
ef3bb68044 fix: #430 2023-06-01 13:08:51 +09:00
Shunsuke Shibayama
ac7a57a094 fix: path resolution bug 2023-05-21 23:30:31 +09:00
Shunsuke Shibayama
829b0d11b6 fix: module accessibility 2023-05-21 22:35:44 +09:00