Commit graph

53 commits

Author SHA1 Message Date
Shunsuke Shibayama
e3b479ebf7 feat: polymorphic type class members 2023-07-14 01:53:06 +09:00
Shunsuke Shibayama
74e1ae8dfc feat: add todo
* fix: default params display
2023-07-07 22:37:45 +09:00
Shunsuke Shibayama
0d3691f243 Merge branch 'main' into rwlock 2023-06-10 17:45:08 +09:00
Shunsuke Shibayama
980be54590 merge from main 2023-05-28 10:01:00 +09:00
Shunsuke Shibayama
8e481399b4 chore: eliminate unsafe operations 2023-05-28 02:22:33 +09:00
Shunsuke Shibayama
0e42ab03ca feat: let Shared: Send + Sync 2023-05-27 20:41:28 +09:00
Shunsuke Shibayama
4af0c4c799 feat: add special variables module/global 2023-05-25 16:37:38 +09:00
Shunsuke Shibayama
0425dd8ddd refactor: MethodInfo -> MethodPair 2023-05-11 13:58:34 +09:00
Shunsuke Shibayama
2c5c3d6b6b feat: support *attr funcs with py_compat mode 2023-05-10 16:05:01 +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
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
1cdbef671e fix: py-compat mode bugs 2023-04-29 23:41:56 +09:00
Shunsuke Shibayama
1df51cb12c feat: add IO! trait 2023-04-29 22:39:12 +09:00
Shunsuke Shibayama
219611b813 fix: display error instead of crash when ERG_PATH is not found 2023-04-27 16:44:06 +09:00
Shunsuke Shibayama
66cac2ccc2 fix: bugs & remove TypeCmpCache 2023-04-27 13:10:33 +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
0e8dee3cbf feat: implement And type overloading 2023-04-24 21:43:46 +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
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
7c9970f140 fix: smallest type selection 2023-04-01 08:58:30 +09:00
Shunsuke Shibayama
3f66981c5c refactor: py_compatible -> py_compat 2023-03-30 00:43:30 +09:00
Shunsuke Shibayama
824075f7ee feat: add FrozenSet, MemoryView 2023-03-26 11:23:28 +09:00
Shunsuke Shibayama
9b3843b7a4 feat: add Complex, GenericArray, GenericSet 2023-03-24 11:47:46 +09:00
Shunsuke Shibayama
3940f7f36c fix: add __call__ for builtin classes 2023-03-24 10:34:44 +09:00
Shunsuke Shibayama
a5ce33f2c4 refactor: inst (instance) -> imp (impl) 2023-03-19 23:24:00 +09:00
Shunsuke Shibayama
0d8e574414 fix: add a field meta_t to TypeObj::Builtin 2023-03-13 13:07:35 +09:00
Shunsuke Shibayama
fa2919e824 fix: bugs with enumeration of vars 2023-03-06 19:44:49 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00
Shunsuke Shibayama
8c8eff76a6 feat: add ContextManager 2023-03-03 16:06:03 +09:00
Shunsuke Shibayama
cb00efca54 fix: minor bugs 2023-03-03 14:26:11 +09:00
Shunsuke Shibayama
923f8fbbaf Update mod.rs 2023-02-25 10:11:11 +09:00
Shunsuke Shibayama
f604338d99 feat: add Pos/Neg trait 2023-02-24 15:38:04 +09:00
Shunsuke Shibayama
e944132cfc feat: add init_py_builtin_operators 2023-02-24 15:21:25 +09:00
Shunsuke Shibayama
c9dda183ab feat: implement Structural types 2023-02-23 01:37:54 +09:00
Shunsuke Shibayama
5c4c43ab2f fix: failure of the type inference of another module 2023-02-22 11:55:02 +09:00
Shunsuke Shibayama
aa2cea60dd fix: quantified subroutine subtyping bugs 2023-02-22 02:40:51 +09:00
Shunsuke Shibayama
b552cad3b2 feat: add Bytes.d.er/Obj.d.er 2023-02-18 13:46:48 +09:00
Shunsuke Shibayama
677ced0fcd feat: add std.d 2023-02-17 21:09:23 +09:00
Shunsuke Shibayama
515b87b106 refactor: condition => test, err_message => msg 2023-02-13 15:56:08 +09:00
Shunsuke Shibayama
89d830c364 feat(Array): add dedup, partition method 2023-02-07 23:59:23 +09:00
Shunsuke Shibayama
c44355346e Add some builtin types methods 2023-02-03 13:34:16 +09:00
Shunsuke Shibayama
8cdc735486 Fix builtin types methods 2023-02-03 00:23:42 +09:00
Shunsuke Shibayama
44781cb030 Fix warns 2023-01-27 11:23:42 +09:00
Shunsuke Shibayama
8b5d289ad3 Update builtins.d.er 2023-01-24 20:27:19 +09:00
Shunsuke Shibayama
73dd785eeb Fix an unintended behavior with const-fn 2023-01-23 16:57:19 +09:00
Shunsuke Shibayama
5221ecc645
Merge branch 'main' into make-consts-init-builtin-funcs 2023-01-16 13:30:58 +09:00