Commit graph

77 commits

Author SHA1 Message Date
Shunsuke Shibayama
a129141234 fix: incorrect typing & method resolution 2024-09-26 11:34:15 +09:00
Shunsuke Shibayama
ebd7707f77 fix: traits can have impls 2024-09-21 22:42:56 +09:00
Shunsuke Shibayama
3366043a2d fix: Dict::get 2024-09-21 20:06:26 +09:00
Shunsuke Shibayama
ff53af0cb6 feat: add RMul, RDiv
* `And` has the default type index
* impl `Dimension` traits
2024-09-20 20:36:55 +09:00
Shunsuke Shibayama
0bc22e2b73 feat: add float func 2024-09-01 12:54:40 +09:00
Shunsuke Shibayama
af360a52cc fix: constructor typing 2024-08-20 22:26:02 +09:00
Shunsuke Shibayama
2ff3194d69 feat: const classof func 2024-08-15 11:15:22 +09:00
Shunsuke Shibayama
ea8f1ea91f feat: add Bytes methods 2024-08-10 18:40:46 +09:00
Shunsuke Shibayama
325ab03b24 fix: ByteArray! is not defined 2024-06-15 14:48:13 +09:00
Shunsuke Shibayama
fa2c53461d fix: generalization is not performed for some types 2024-05-07 22:31:17 +09:00
Shunsuke Shibayama
63dad2eb26 chore: fix isinstance/issubclass signature 2024-04-27 14:13:28 +09:00
Shunsuke Shibayama
7f29316a98 feat: filter method can also narrow types 2024-04-05 00:38:38 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
bd39393746 feat: type narrowing with filter 2024-03-21 11:56:17 +09:00
Shunsuke Shibayama
e38674945b fix: type relation bugs 2024-03-13 12:40:43 +09:00
Shunsuke Shibayama
24141ea3f3 fix: import resolution 2024-03-12 23:38:39 +09:00
Shunsuke Shibayama
57b919feb7 feat: add breakpoint!, hex, object, list, vars 2024-03-12 12:46:26 +09:00
GreasySlug
37e0b7832f fix: typing error in var names 2024-02-26 23:04:26 +09:00
GreasySlug
eba80469a6 clean: add and use const str 2024-02-26 23:04:26 +09:00
Shunsuke Shibayama
f612340e80 fix: range type definition bug 2024-02-26 01:35:41 +09:00
Shunsuke Shibayama
2a26cc8a1d
Merge pull request #485 from erg-lang/torch_d
Change constructor syntax
2024-02-09 23:41:18 +09:00
Shunsuke Shibayama
b7d9598d28 feat: add IrregularEq 2024-02-09 02:43:51 +09:00
Shunsuke Shibayama
757f387d91 feat: add callable function 2024-02-06 14:36:40 +09:00
Shunsuke Shibayama
276583d8ef feat: add const reversed/sum/Str::replace 2024-01-30 11:01:45 +09:00
Shunsuke Shibayama
d748333a0f feat: add const filter/max/min/not/str/zip 2024-01-29 20:54:30 +09:00
Shunsuke Shibayama
d59a4e82d3 feat: const abs/all/any/len/map 2024-01-29 13:29:39 +09:00
Shunsuke Shibayama
20a94b806a fix: assert de-optimization bug 2024-01-21 13:10:47 +09:00
Shunsuke Shibayama
951c85a344 feat: add exception module 2024-01-04 21:41:24 +09:00
Shunsuke Shibayama
2ddff1512f fix: const call bug 2023-12-30 21:53:38 +09:00
Shunsuke Shibayama
a2d1809cee fix: cyclic reference modules bugs 2023-12-28 14:59:14 +09:00
Shunsuke Shibayama
868609f95a feat: add format, help! 2023-12-15 22:55:10 +09:00
Shunsuke Shibayama
4407999c19 feat: add SubrType::kw_var_params 2023-11-12 12:22:48 +09:00
Shunsuke Shibayama
e4a3bc1720 feat: add rsimport 2023-11-07 12:59:33 +09:00
Shunsuke Shibayama
d0bae66450 fix: bytes type definition 2023-10-18 15:07:36 +09:00
Shunsuke Shibayama
f561eebc2f chore: improve pattern match 2023-09-27 11:59:20 +09:00
Shunsuke Shibayama
57d3a23aed feat: impl Hash for Array 2023-09-18 19:44:37 +09:00
Shunsuke Shibayama
9db9348dc5 feat: support decorator 2023-09-16 16:29:14 +09:00
Shunsuke Shibayama
aacdca31b8 fix: Python 3.7~3.8 bugs 2023-09-13 11:09:30 +09:00
Shunsuke Shibayama
68acaf00fb feat: add ByteArray! 2023-09-11 21:55:46 +09:00
Shunsuke Shibayama
3fd66f1a32 feat: (partial) comprehension support 2023-09-11 02:24:03 +09:00
Shunsuke Shibayama
abb025afd4 fix: symop codegen bug 2023-09-09 17:29:19 +09:00
Shunsuke Shibayama
d8835fd169 fix: eliminate unwraps 2023-09-03 03:36:17 +09:00
Shunsuke Shibayama
f2ad45878a feat: add Hash trait 2023-08-20 17:33:42 +09:00
Shunsuke Shibayama
efcf23b04d fix: iterator bugs 2023-08-17 20:01:05 +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
579615d76e feat: add Slice 2023-07-14 23:45:13 +09:00
Shunsuke Shibayama
74e1ae8dfc feat: add todo
* fix: default params display
2023-07-07 22:37:45 +09:00
Shunsuke Shibayama
5e8d1b987a chore: Str, Array: Sized 2023-05-18 23:11:54 +09:00
Shunsuke Shibayama
2c5c3d6b6b feat: support *attr funcs with py_compat mode 2023-05-10 16:05:01 +09:00