Commit graph

105 commits

Author SHA1 Message Date
Shunsuke Shibayama
7fdaae85c7 Support Python 3.8.10 2022-10-20 13:53:15 +09:00
Shunsuke Shibayama
3eb6393773 Support Python 3.8.10 2022-10-20 13:52:56 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
a0714b218c Implement helper methods for AST/HIR construction 2022-10-18 18:30:09 +09:00
Shunsuke Shibayama
eadfe9794a Update codegen.rs 2022-10-18 10:30:24 +09:00
Shunsuke Shibayama
d0456ec1ee Implement default parameter 2022-10-18 10:27:57 +09:00
Shunsuke Shibayama
46b87e1ca3 Fix: variable to have VarInfo instead of Type 2022-10-18 00:25:47 +09:00
Shunsuke Shibayama
cc2b3c4b11 Delete prelude.er (-> _prelude.er) 2022-10-17 11:28:08 +09:00
Shunsuke Shibayama
1154a54c39 Fix bugs 2022-10-17 02:08:04 +09:00
Shunsuke Shibayama
a565206330 Add Nat class 2022-10-16 21:11:16 +09:00
Shunsuke Shibayama
7bc37aa14a Change the structure of the .erg directory 2022-10-16 12:04:39 +09:00
Shunsuke Shibayama
8c6997d3c9 Add os module 2022-10-16 11:33:21 +09:00
Shunsuke Shibayama
679222cf4a Remove no_build_rs feature 2022-10-16 10:33:20 +09:00
Shunsuke Shibayama
afd8d33d49 Add no_build_rs feature 2022-10-15 12:13:09 +09:00
Shunsuke Shibayama
65254a19e5 Add HIRDesugerer::desugar_class_member 2022-10-14 16:04:14 +09:00
Shunsuke Shibayama
42a9c4b4d9 Add desugar_hir.rs 2022-10-14 11:50:28 +09:00
Shunsuke Shibayama
57c6bab189 Update codegen.rs 2022-10-13 12:15:18 +09:00
Shunsuke Shibayama
b879788d2a Add Iterable 2022-10-13 01:30:40 +09:00
Shunsuke Shibayama
aa2b45bf86 Fix method call bug 2022-10-13 00:56:43 +09:00
Shunsuke Shibayama
14d1eefed2 Add Context::init_builtin_consts 2022-10-12 23:52:15 +09:00
Shunsuke Shibayama
5af40aafc9 Fix Array.concat 2022-10-12 23:30:11 +09:00
Shunsuke Shibayama
e647c9545f Merge branch 'main' into dict 2022-10-12 13:20:05 +09:00
GreasySlug
e453649898 Add: BINARY_FLOOR_DIVIDE 2022-10-12 07:47:41 +09:00
Shunsuke Shibayama
6c4e1dca35 Downgrade erg_type from crate to module
This is to allow `ConstSubr` to have a `Context`
2022-10-12 02:28:25 +09:00
Shunsuke Shibayama
9c3acc8e19 Implement ProjMethod 2022-10-11 16:08:49 +09:00
Shunsuke Shibayama
decb0fd077 Implement Dict 2022-10-10 19:29:11 +09:00
Shunsuke Shibayama
627f64e081 Fix: handling of literal parsing failures 2022-10-10 11:51:26 +09:00
Shunsuke Shibayama
e02def52ab Implement Array/SetWithLength 2022-10-10 00:05:55 +09:00
Shunsuke Shibayama
befe2cf835 WIP 2022-10-09 18:07:52 +09:00
Shunsuke Shibayama
b997c685dd Add std 2022-10-09 17:56:17 +09:00
Shunsuke Shibayama
de1180387c Implement assert casting 2022-10-09 00:14:50 +09:00
Shunsuke Shibayama
4968076541 bug fixes 2022-10-07 20:15:53 +09:00
Shunsuke Shibayama
6b14add8f8 Merge branch 'main' into pr/191 2022-10-06 11:57:49 +09:00
Shunsuke Shibayama
59f6046916 Fix method type inference for type variables 2022-10-06 00:27:43 +09:00
GreasySlug
bdbfcbd846 Add: emit expr of set 2022-10-05 13:15:50 +09:00
Shunsuke Shibayama
2f33c9b15d Add Del 2022-10-03 21:44:59 +09:00
Shunsuke Shibayama
51b1f01079 Implement anonymous closure 2022-10-03 11:04:06 +09:00
Shunsuke Shibayama
e55ab8c027 Add Show trait 2022-10-03 01:02:49 +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
99ced41c87 Fix Readable type 2022-09-30 14:31:39 +09:00
Shunsuke Shibayama
8b535a3ae0 Update codegen.rs 2022-09-30 02:14:58 +09:00
Shunsuke Shibayama
cd168ef131 Impl with! 2022-09-29 23:56:02 +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