Commit graph

332 commits

Author SHA1 Message Date
GreasySlug
bdbfcbd846 Add: emit expr of set 2022-10-05 13:15:50 +09:00
GreasySlug
bb96853cbe Add: check side-effects and ownership 2022-10-05 09:39:54 +09:00
GreasySlug
ff9c10cfee Update: Change Vec to Set 2022-10-05 09:12:45 +09:00
GreasySlug
66a14e4a8c Fix: import not erg_import 2022-10-04 19:49:30 +09:00
GreasySlug
20cc00d173 Add: impl set with len and register builtin ctx 2022-10-04 08:32:57 +09:00
GreasySlug
70dad0bda6 Clean: use elem not attrs and adjust fmt 2022-10-04 08:32:57 +09:00
Cai Bingjun
85404b27c5
Correct zh_ CN and zh_ TW error message 2022-10-03 20:17:31 +08:00
Shunsuke Shibayama
e5747b725e Impl PartialEq, Eq, Hash for HIR 2022-10-03 19:08:00 +09:00
GreasySlug
6e6edb5d7e Add: lower for the set literal 2022-10-03 17:21:59 +09:00
Shunsuke Shibayama
b6bd3d296e Add type displaying mode 2022-10-03 13:36:24 +09:00
Shunsuke Shibayama
72c209611f Update lower.rs 2022-10-03 12:50:16 +09:00
Shunsuke Shibayama
1846767afa remove todo!()s 2022-10-03 12:25:28 +09:00
Shunsuke Shibayama
894c4a4c38 Update version (v0.5.6) 2022-10-03 11:16:19 +09:00
Shunsuke Shibayama
51b1f01079 Implement anonymous closure 2022-10-03 11:04:06 +09:00
Shunsuke Shibayama
a39790e5fb Update eval.rs 2022-10-03 01:13:54 +09:00
Shunsuke Shibayama
e55ab8c027 Add Show trait 2022-10-03 01:02:49 +09:00
Shunsuke Shibayama
4f6fbb50d0 Delete useless parameters 2022-10-03 00:46:39 +09:00
Shunsuke Shibayama
60bc94058a Changed type of tmp_tv_ctx from &mut to & 2022-10-02 20:12:25 +09:00
Shunsuke Shibayama
a4f0ad4024 Add and, or type parsing 2022-10-02 11:53:15 +09:00
Shunsuke Shibayama
05c434781b Fix a type instantiating bug 2022-10-02 11:37:01 +09:00
Shunsuke Shibayama
3147dfb1d8 Fixed to define subroutine as Type::Failure even if type checking fails 2022-10-01 16:07:03 +09:00
Shunsuke Shibayama
2c15b057de Add occur check 2022-10-01 16:04:28 +09:00
Shunsuke Shibayama
cbb2a8c211 Update version (nightly) 2022-10-01 14:43:07 +09:00
Shunsuke Shibayama
f33db307b6 Add urllib, Bytes 2022-10-01 13:42:34 +09:00
Shunsuke Shibayama
423206920a Add execution test 2022-10-01 01:11:31 +09:00
Shunsuke Shibayama
be1c603ba9 Merge branch 'main' into py-method-decl 2022-10-01 00:11:50 +09:00
Shunsuke Shibayama
d040bb80f2 Fix algebraic types inferring bugs 2022-10-01 00:11:32 +09:00
Shunsuke Shibayama
b10f486040 Merge branch 'main' into py-method-decl 2022-09-30 19:32:58 +09:00
Shunsuke Shibayama
62ba267b33 Add exit, panic 2022-09-30 19:14:45 +09:00
Shunsuke Shibayama
33edcd2e1c Implement Python class method declarations 2022-09-30 18:21:18 +09:00
Shunsuke Shibayama
e4c61392d2 Update codegen.rs 2022-09-30 16:04:46 +09:00
Shunsuke Shibayama
5179a04db4 Fix a codegen bug 2022-09-30 15:52:29 +09:00
Shunsuke Shibayama
aec165b0d6 Update codegen.rs 2022-09-30 15:46:40 +09:00
Shunsuke Shibayama
622e1fa350 Fix lowerer crash bugs 2022-09-30 15:46:27 +09:00
Shunsuke Shibayama
12664a0e1c Update error.rs 2022-09-30 14:41:36 +09:00
Shunsuke Shibayama
99ced41c87 Fix Readable type 2022-09-30 14:31:39 +09:00
Shunsuke Shibayama
9dd2da9628 Fix .read type 2022-09-30 14:09:38 +09:00
Shunsuke Shibayama
8b535a3ae0 Update codegen.rs 2022-09-30 02:14:58 +09:00
Shunsuke Shibayama
d4b6e6000e Update version (v0.5.5) 2022-09-30 01:22:43 +09:00
Shunsuke Shibayama
96c5527134 Improve: inferring the overall type from the method 2022-09-30 01:22:22 +09:00
Shunsuke Shibayama
cd168ef131 Impl with! 2022-09-29 23:56:02 +09:00
Shunsuke Shibayama
db84321ff8 Add type definitions for open! and with! 2022-09-29 21:50:28 +09:00
Shunsuke Shibayama
ea14f8b2ba Update codegen.rs 2022-09-29 20:45:10 +09:00
Shunsuke Shibayama
9eb7e8e9ba Update codegen.rs 2022-09-29 20:42:48 +09:00
Shunsuke Shibayama
f9e35aab2d Fix #179, #176 2022-09-29 18:57:27 +09:00
Shunsuke Shibayama
e717b43c40 Fix import to be usable without assigning 2022-09-29 18:55:47 +09:00
Shunsuke Shibayama
23a6f630c9 Fix import to be called from anywhere 2022-09-29 11:48:38 +09:00
Shunsuke Shibayama
f548f9e6ef Add type specification for array and range types 2022-09-28 00:05:23 +09:00
Shunsuke Shibayama
8a9b38d083 Update version (nightly) 2022-09-27 23:19:45 +09:00
Shunsuke Shibayama
348a37a746 Fix to continue compilation even if module compilation fails 2022-09-27 23:18:15 +09:00