Commit graph

39 commits

Author SHA1 Message Date
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
Shunsuke Shibayama
6a183346ea Bug fix 2023-01-15 23:43:42 +09:00
yuk1ty
b5f316d479 Make strings as const 2023-01-15 17:55:24 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_compiler/context/initialize/mod.rs (Browse further)