Commit graph

60 commits

Author SHA1 Message Date
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
Shunsuke Shibayama
a8f9fa2edb feat: add Sequence!/Mapping! 2023-05-09 22:19:19 +09:00
Shunsuke Shibayama
36885e34c3 fix: boundary checking bugs 2023-05-05 00:52:31 +09:00
Shunsuke Shibayama
d573d07f20 chore: enhance the compile-time evaluator 2023-05-04 22:12:58 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +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
0e070b3572 fix(els): completion bug 2023-04-23 02:00:09 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
0d43299cce fix: subroutine-subtyping bugs 2023-04-14 18:32:17 +09:00
Shunsuke Shibayama
e232b6a518 fix: sub-unification problem 2023-03-31 00:37:09 +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
fd0f56579a fix: aliasing bug 2023-03-13 07:03:31 +09:00
Shunsuke Shibayama
d3678b1780 fix: aliasing bug 2023-03-12 11:30:14 +09:00
Shunsuke Shibayama
c5848db951 fix: #408 2023-03-07 09:49:59 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00
Shunsuke Shibayama
e944132cfc feat: add init_py_builtin_operators 2023-02-24 15:21:25 +09:00