Commit graph

185 commits

Author SHA1 Message Date
Shunsuke Shibayama
0fb996f289 feat: add Copy trait 2024-03-03 16:22:14 +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
47818e431e chore: remove clone method 2024-02-24 00:27:13 +09:00
Shunsuke Shibayama
1d1c6f4fbc fix: python script backend bug 2024-02-19 02:26:18 +09:00
Shunsuke Shibayama
48cdd2462d feat: add Array.repeat 2024-02-12 01:38:52 +09:00
Shunsuke Shibayama
8b0d504ccb Merge branch 'main' into lib.d 2024-02-11 13:46:59 +09:00
Shunsuke Shibayama
4440d0a698 chore: add TraitImpl::declared_in 2024-02-11 13:08:03 +09:00
Shunsuke Shibayama
14bf431c57 chore: resolve decl package path 2024-02-10 13:01:42 +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
e5c8f177ba feat: add HasScalarType 2024-02-09 18:37:33 +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
Shunsuke Shibayama
c76de00847 feat: add Float!::{inc!, dec!} 2024-02-07 17:01:32 +09:00
Shunsuke Shibayama
58514c5890 chore: add Subroutine & GenericCallable is now a trait 2024-02-07 13:23:09 +09:00
Shunsuke Shibayama
757f387d91 feat: add callable function 2024-02-06 14:36:40 +09:00
Shunsuke Shibayama
96239b957c fix: modulo operator bug 2024-02-04 18:11:30 +09:00
Shunsuke Shibayama
c75dc9c77a Update lower.rs 2024-02-01 18:36:38 +09:00
Shunsuke Shibayama
b58a542f8e feat: add const Str::{isalpha, isascii, isdecimal} 2024-01-31 00:47:28 +09:00
Shunsuke Shibayama
bedf3e2f4b fix: const Dict::{keys, values, items} 2024-01-30 15:01:19 +09:00
Shunsuke Shibayama
d6e6914662 feat: add const Str::{endswith, find, join, startswith} 2024-01-30 12:37:07 +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
d1fa616aea feat: eval const call/lambda in refinement types
rename: `Shape` -> `HasShape`
2024-01-29 18:10:26 +09:00
Shunsuke Shibayama
d59a4e82d3 feat: const abs/all/any/len/map 2024-01-29 13:29:39 +09:00
Shunsuke Shibayama
06a4a6e5fc feat: add Predicate::General{Less, Greater, Not}Equal 2024-01-28 20:24:14 +09:00
Shunsuke Shibayama
4393649ffc feat: add Predicate::{Call, GeneralEqual} 2024-01-28 18:33:00 +09:00
Shunsuke Shibayama
ab659ccb35 feat: import external packages 2024-01-22 11:43:38 +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
6de8355a25 refactor: std -> core 2024-01-04 17:26:26 +09:00
Shunsuke Shibayama
767d51d48b feat: function downcasting
FIXME: This downcast is unsound, function inputs, output should be checked at runtime
2023-12-31 09:03:40 +09:00
Shunsuke Shibayama
2ddff1512f fix: const call bug 2023-12-30 21:53:38 +09:00
Shunsuke Shibayama
80872fc50e fix: keyword argument bugs 2023-12-29 17:00:11 +09:00
Shunsuke Shibayama
edfabd97e7 refactor: fix warns 2023-12-29 12:30:41 +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
4f02d6ce2d fix: dict type inference bug 2023-12-12 13:28:35 +09:00
Shunsuke Shibayama
30a6f84e5f feat: add erg_compiler/erg_parser type decls 2023-11-18 16:04:51 +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
ebf803dab0 feat: add Float.nearly_eq 2023-11-07 02:30:08 +09:00
Shunsuke Shibayama
6058339e3f chore: add TypeContext, MethodContext 2023-10-29 17:33:21 +09:00
Shunsuke Shibayama
01ffde469a feat: Dict.as_record 2023-10-25 19:46:32 +09:00
Shunsuke Shibayama
e61fdce4a5 fix: closure codegen bug 2023-10-20 12:26:57 +09:00
Shunsuke Shibayama
d0bae66450 fix: bytes type definition 2023-10-18 15:07:36 +09:00
Shunsuke Shibayama
e6cf329f97 fix: type alias bug 2023-10-16 18:34:19 +09:00
Shunsuke Shibayama
14729c94f4 chore: VarInfo.impl_of: Option<Type> -> ctx: ContextKind 2023-10-15 17:41:22 +09:00
Shunsuke Shibayama
1a056b1b0e fix!: let return/yield to be a private method 2023-10-15 13:51:09 +09:00