Commit graph

72 commits

Author SHA1 Message Date
Shunsuke Shibayama
fc75151f2a feat: add Frame type 2023-10-14 23:42:27 +09:00
Shunsuke Shibayama
0a24c0cb77 fix: dict update! bug 2023-10-14 21:38:12 +09:00
Shunsuke Shibayama
5e580422c3 fix: mutable array type bug 2023-10-11 21:29:53 +09:00
Shunsuke Shibayama
13a346e488 feat: add Dict.concat/diff, Dict!.merge!/remove! 2023-10-05 00:57:08 +09:00
Shunsuke Shibayama
57d3a23aed feat: impl Hash for Array 2023-09-18 19:44:37 +09:00
Shunsuke Shibayama
a97b89c056 fix!: rename to_str -> __str__ 2023-09-13 16:48:20 +09:00
Shunsuke Shibayama
68acaf00fb feat: add ByteArray! 2023-09-11 21:55:46 +09:00
Shunsuke Shibayama
7729b73809 fix: dict iterators bug 2023-09-06 00:56:07 +09:00
Shunsuke Shibayama
74bca70017 feat: add Array.update_nth! 2023-08-28 15:33:58 +09:00
Shunsuke Shibayama
f2ad45878a feat: add Hash trait 2023-08-20 17:33:42 +09:00
Shunsuke Shibayama
a0ce142f7b chore: add record examples 2023-08-20 10:58:33 +09:00
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
5affa5065f fix: dynamic type checking bugs 2023-08-19 16:34:07 +09:00
Shunsuke Shibayama
927de74eee chore: add Self substitution 2023-08-17 19:25:17 +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
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
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
1ea2c74aaa chore: add TyParam::proj_call 2023-07-30 13:05:39 +09:00
Shunsuke Shibayama
664f265716 WIP 2023-07-28 00:27:04 +09:00
Shunsuke Shibayama
9308a910ca fix: #442 2023-07-24 09:32:31 +09:00
Shunsuke Shibayama
0152e368ab feat: support Array, Str, Bytes slice 2023-07-15 12:29:07 +09:00
Shunsuke Shibayama
579615d76e feat: add Slice 2023-07-14 23:45:13 +09:00
Shunsuke Shibayama
e3b479ebf7 feat: polymorphic type class members 2023-07-14 01:53:06 +09:00
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
a9025507d3 fix: path resolution bugs 2023-05-25 11:25:02 +09:00
Shunsuke Shibayama
5e8d1b987a chore: Str, Array: Sized 2023-05-18 23:11:54 +09:00
Shunsuke Shibayama
a8f9fa2edb feat: add Sequence!/Mapping! 2023-05-09 22:19:19 +09:00
Shunsuke Shibayama
293f301a4b feat: add traits
* Sized
* Iterator
* Container
* Collection
* Indexable
* Mapping
2023-05-08 12:11:01 +09:00
Shunsuke Shibayama
192b583678 fix: no-panic Context::register_marker_trait 2023-05-05 15:47:40 +09:00
Shunsuke Shibayama
752640eb02 fix: Context::register_marker_trait 2023-05-04 13:35:40 +09:00
Shunsuke Shibayama
30d2dc52a3 feat: add SetIterator/TupleIterator 2023-05-04 00:00:09 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +09:00
Shunsuke Shibayama
0b0c663792 fix: a type casting bug 2023-04-29 14:20:10 +09:00
Shunsuke Shibayama
1ef11fc2b9 feat(els): improve doc-comment display 2023-04-28 23:48:45 +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
3c40fc35e9 fix: #193
and many bugs
2023-04-22 23:43:03 +09:00
Shunsuke Shibayama
3fcd3ab9b1 feat: add Dict! 2023-04-20 11:34:04 +09:00
Shunsuke Shibayama
325d237f09 feat: add Dict.items/copy 2023-04-20 10:44:57 +09:00
Shunsuke Shibayama
e0d8306b3e feat: add Dict.keys/values/get 2023-04-20 02:19:31 +09:00
Shunsuke Shibayama
7d7849b493 fix: unintended behavior for collections 2023-04-19 18:49:27 +09:00
Shunsuke Shibayama
2c1a6ffff2 fix: remove Tuple.__call__ 2023-04-14 09:26:45 +09:00
Shunsuke Shibayama
a4ace1caae feat: add Array!.d.er 2023-04-11 11:22:24 +09:00
Shunsuke Shibayama
7c9970f140 fix: smallest type selection 2023-04-01 08:58:30 +09:00