Commit graph

225 commits

Author SHA1 Message Date
Lionel H
0dd9e0876f feat(erg): add subclasshook method in abc.d.er
Add __subclasshook__ magic method which is used to implement the logic
that validates a class correctly conform to an interface.

Signed-off-by: Lionel H <lionel.hubaut@dekimo.com>
2024-07-08 11:10:52 +02:00
Lionel H
2d8a673fee fix(erg_compiler): fix typo in abc.d.er
s/abstruct/abstract/g

Because abstruct does not exists in Python ;)

Signed-off-by: Lionel H <lionel.hubaut@dekimo.com>
2024-07-08 11:07:27 +02:00
Shunsuke Shibayama
80394c6e6d Update shutil.d.er 2024-07-05 23:35:07 +09:00
Shunsuke Shibayama
d62bce689b feat: add __future__, fnmatch, graphlib, zoneinfo 2024-06-30 13:13:38 +09:00
Shunsuke Shibayama
f299962ebc feat: add email module 2024-06-22 11:32:48 +09:00
Shunsuke Shibayama
eb061f712b Update typing.d.er 2024-06-22 10:50:02 +09:00
Shunsuke Shibayama
22cd07a414 chore: improve overload error msg 2024-06-15 14:14:38 +09:00
Shunsuke Shibayama
cb385a86e4 chore: relax occur check
fix #512
2024-05-24 19:08:36 +09:00
Shunsuke Shibayama
dc7565cb26 fix: type generalization bug 2024-05-17 15:57:16 +09:00
Shunsuke Shibayama
96f4c1cf98 feat: add {Str, List}.from 2024-04-30 18:44:31 +09:00
Shunsuke Shibayama
65d05cb37b Update path.d.er 2024-04-30 11:45:41 +09:00
Shunsuke Shibayama
e220381fa2 feat: add some object methods 2024-04-26 12:39:58 +09:00
Shunsuke Shibayama
2887a77f70 fix: mutable type method access bug 2024-04-26 11:59:55 +09:00
Shunsuke Shibayama
22c2016eae feat: add errno, fileinput, ipaddress module type decls 2024-04-26 01:16:27 +09:00
Shunsuke Shibayama
3d7283cb01 fix: {default, variable} parameter bugs 2024-04-24 15:24:05 +09:00
Shunsuke Shibayama
f6ea1d1d79 feat: enhance http, urllib type decls 2024-04-16 10:23:54 +09:00
Shunsuke Shibayama
c7522b1d36 feat: enhance os, sys type decls 2024-04-14 20:41:01 +09:00
Shunsuke Shibayama
d46f84564b feat: enhance array, io, os, struct type decls 2024-04-13 01:51:14 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
4ac6276ba9 feat: add Iterable methods 2024-03-30 13:26:02 +09:00
Shunsuke Shibayama
21fcf23827 feat: enhance os type decls 2024-03-29 12:40:30 +09:00
Shunsuke Shibayama
35f55c62d3 feat: enhance os, random type decls 2024-03-24 13:02:26 +09:00
Shunsuke Shibayama
54bd111a5f build: add bump_version.er 2024-03-24 00:55:01 +09:00
Shunsuke Shibayama
d881a6ae3e feat: add FileDescriptor and enhance os decls 2024-03-23 11:28:56 +09:00
Shunsuke Shibayama
5345b07791 feat: implement the built-in trait entities 2024-03-20 16:53:03 +09:00
Shunsuke Shibayama
fec8c45ff0 feat: add statistics module & enhance pickle, string 2024-03-19 00:28:13 +09:00
Shunsuke Shibayama
e38674945b fix: type relation bugs 2024-03-13 12:40:43 +09:00
Shunsuke Shibayama
0274b458b4 Create uuid.d.er 2024-03-12 22:03:27 +09:00
Shunsuke Shibayama
2a119becea Create pdb.d.er 2024-03-12 20:21:22 +09:00
Shunsuke Shibayama
0e1c0a9a13 feat: add Exception classes 2024-03-11 20:35:11 +09:00
Shunsuke Shibayama
f8b7717682 chore: remove __new__ 2024-03-06 01:53:50 +09:00
Shunsuke Shibayama
c94ac76262 feat: impl Eq, Hash, Ord for Python module types 2024-03-05 22:48:05 +09:00
Shunsuke Shibayama
0fb996f289 feat: add Copy trait 2024-03-03 16:22:14 +09:00
GreasySlug
cc21271998 clean: use black and ruff 2024-02-26 23:04:26 +09:00
Shunsuke Shibayama
47818e431e chore: remove clone method 2024-02-24 00:27:13 +09:00
Shunsuke Shibayama
9b9be7fb2c Update _erg_bytes.py 2024-02-19 02:49:10 +09:00
Shunsuke Shibayama
9e2beff6db Update _erg_bytes.py 2024-02-18 17:15:56 +09:00
Shunsuke Shibayama
13ed03f23c Update pathlib.d.er 2024-02-16 19:05:52 +09:00
Shunsuke Shibayama
2eaec5a40e feat: resolve pkgs module path 2024-02-14 01:30:48 +09:00
Shunsuke Shibayama
48cdd2462d feat: add Array.repeat 2024-02-12 01:38:52 +09:00
Shunsuke Shibayama
92aa3ea078 add external files 2024-02-11 23:04:16 +09:00
Shunsuke Shibayama
12a425a8da refactor: move external packages to package-index 2024-02-10 20:12:55 +09:00
Shunsuke Shibayama
027009680a Update semver.er 2024-02-10 13:00:44 +09:00
Shunsuke Shibayama
7e961e37ed refactor: move idna, certifi to package-index 2024-02-10 13:00:44 +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
134cb1254c fix: test failures 2024-02-09 23:21:05 +09:00
Shunsuke Shibayama
e5c8f177ba feat: add HasScalarType 2024-02-09 18:37:33 +09:00
Shunsuke Shibayama
21d5f22ca8 fix: overload resolution bug 2024-02-09 14:33:58 +09:00
Shunsuke Shibayama
66352ddd3a feat: add const Array::{insert, remove_at, remove_all} 2024-02-09 12:47:17 +09:00
Shunsuke Shibayama
b7d9598d28 feat: add IrregularEq 2024-02-09 02:43:51 +09:00