Commit graph

3235 commits

Author SHA1 Message Date
Shunsuke Shibayama
5e71bd7fd0 feat: add Record.as_dict() 2023-08-20 02:02:53 +09:00
Shunsuke Shibayama
2966497ad6 feat: add Str methods 2023-08-20 00:07:08 +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
a6b72ea636 Update codegen.rs 2023-08-19 01:34:20 +09:00
Shunsuke Shibayama
c6ddb01241
Merge pull request #450 from erg-lang/json
Support json backend
2023-08-18 23:04:58 +09:00
Shunsuke Shibayama
fa2a59ae83 feat: support json backend 2023-08-18 22:19:19 +09:00
Shunsuke Shibayama
4e50075774 Update shutil.d.er 2023-08-18 13:38:22 +09:00
Shunsuke Shibayama
f1c44175f7 fix: eliminate todo!s 2023-08-18 13:03:38 +09:00
Shunsuke Shibayama
2e8810f10d fix: occur check bug 2023-08-18 11:57:54 +09:00
Shunsuke Shibayama
359329e593
Merge pull request #449 from erg-lang/named_tuple
Add `NamedTuple`
2023-08-18 02:29:04 +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
8323dd4094 Merge branch 'main' into named_tuple 2023-08-17 16:53:38 +09:00
Shunsuke Shibayama
ed245f6c08 fix: self typing bug 2023-08-17 16:52:50 +09:00
Shunsuke Shibayama
9454896d5a WIP 2023-08-17 16:43:26 +09:00
Shunsuke Shibayama
ea0089f7df feat: add Type::NamedTuple 2023-08-17 02:00:44 +09:00
Shunsuke Shibayama
bcebe04f3a Update link_hir.rs 2023-08-16 21:28:09 +09:00
Shunsuke Shibayama
bb613c20d6 fix: runtime args bug 2023-08-16 20:52:12 +09:00
Shunsuke Shibayama
6a925f38bd fix(els): hover
* show type difinitions
2023-08-16 19:57:55 +09:00
Shunsuke Shibayama
efbad81475 feat(els): support inlay hint resolve 2023-08-16 19:06:37 +09:00
github-actions[bot]
a292d2e3d7 Automatic update translation_status 2023-08-15 11:35:48 +00:00
Shunsuke Shibayama
03e59e3ebf
Merge pull request #448 from buster-blue/main-1
Create English version of Sealed.md
2023-08-15 20:35:30 +09:00
Shunsuke Shibayama
83beaea214 fix: type substitution bugs 2023-08-15 13:55:21 +09:00
Shunsuke Shibayama
28d173758f chore: add TyParam::DataClass 2023-08-15 01:23:53 +09:00
Shunsuke Shibayama
e61c0c485e fix: discarded variable bug 2023-08-14 21:45:40 +09:00
buster-blue
79152ee1df
Create Sealed.md
Translate Sealed.md
2023-08-13 14:40:34 +00:00
Shunsuke Shibayama
5f6d530602 fix: type substitution bug 2023-08-13 13:44:52 +09:00
Shunsuke Shibayama
974882490c fix: generalization bug 2023-08-13 01:42:23 +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
4f93c393c0 fix: trait registering bugs 2023-08-12 23:31:44 +09:00
Shunsuke Shibayama
bb3e3d9b96 build: update version (v0.6.18) 2023-08-10 08:13:45 +09:00
Shunsuke Shibayama
3c88aee6be
Merge pull request #447 from erg-lang/shape
Enhance compile-time verification capabilities
2023-08-10 08:11:40 +09:00
Shunsuke Shibayama
91d0ac3545 feat: add Array.get 2023-08-09 23:51:52 +09:00
Shunsuke Shibayama
3fb6354fb1 Update os type definition 2023-08-09 23:07:53 +09:00
Shunsuke Shibayama
27f191b687 fix: structural Predicate comparison 2023-08-07 23:14:11 +09:00
Shunsuke Shibayama
187259a008 fix: trait bound bug 2023-08-07 22:43:03 +09:00
Shunsuke Shibayama
d46ce0ff0c chore: add Substituter 2023-08-07 21:25:17 +09:00
Shunsuke Shibayama
b7ca9a16f3 refactor: Type::update_constraint 2023-08-07 01:08:59 +09:00
Shunsuke Shibayama
a690e0b61a Update __init__.d.er 2023-08-06 22:51:34 +09:00
Shunsuke Shibayama
f4e1d494a4 fix: array type inferring 2023-08-06 22:51:13 +09:00
Shunsuke Shibayama
142db9b697 refactor: link -> destructive_link 2023-08-06 20:13:45 +09:00
Shunsuke Shibayama
5dec24a3bf Merge branch 'main' into shape 2023-08-06 19:26:51 +09:00
Shunsuke Shibayama
07679238bc chore: add Unifier 2023-08-06 19:25:31 +09:00
Shunsuke Shibayama
debac5726e fix: undoable link 2023-08-06 01:02:34 +09:00
Shunsuke Shibayama
0576b27ad5 Merge branch 'main' into shape 2023-08-04 22:43:29 +09:00
Shunsuke Shibayama
cbe2485998 Update common.rs 2023-08-04 22:43:06 +09:00