Commit graph

84 commits

Author SHA1 Message Date
Shunsuke Shibayama
f178a011e0 Add module consts 2023-01-14 13:35:39 +09:00
Shunsuke Shibayama
c868ad7266 Move examples doesn't work yet 2023-01-07 20:04:35 +09:00
Shunsuke Shibayama
25dbca1a3e Update pyimport.er 2023-01-07 13:42:56 +09:00
Shunsuke Shibayama
21055ce392 Implement newtype notation 2023-01-06 18:13:21 +09:00
Shunsuke Shibayama
086d272433 Add importlib.machinery 2022-12-29 14:30:08 +09:00
Shunsuke Shibayama
d8f7e386c8 Enhance: empty classes can be generated by Class() 2022-12-23 22:16:22 +09:00
Shunsuke Shibayama
6a078f891c update!(i -> i - 1) -> dec! 2022-12-05 23:06:55 +09:00
Shunsuke Shibayama
4f2f9e79de Interpolation for sample scripts 2022-12-05 23:03:54 +09:00
Shunsuke Shibayama
47132cfab1 Implement string interpolation 2022-12-05 21:24:10 +09:00
Shunsuke Shibayama
52c76431ee Merge branch 'main' into patch 2022-12-05 17:25:45 +09:00
Shunsuke Shibayama
b0fe1103f3 Add inc!, dec! to Int 2022-12-05 02:34:35 +09:00
Shunsuke Shibayama
bade70ef91 Implement Patch 2022-12-02 20:03:02 +09:00
Shunsuke Shibayama
7078f95cec Update docs (string interpolation) 2022-12-02 00:29:17 +09:00
Shunsuke Shibayama
9b1457b695 Fix #265 2022-12-01 23:02:06 +09:00
Shunsuke Shibayama
14b143778f WIP: Enable to declare in class methods definitions 2022-11-07 17:37:46 +09:00
Shunsuke Shibayama
bdda0ac540 Fix kw call codegen bug 2022-11-05 15:52:37 +09:00
Shunsuke Shibayama
a95568ee48 WIP 2022-11-03 01:28:06 +09:00
Shunsuke Shibayama
765acceaf4 Add 3.8 mode 2022-10-30 00:40:07 +09:00
Shunsuke Shibayama
308f6a77dd Optimize type inferer 2022-10-27 10:10:51 +09:00
Shunsuke Shibayama
d56549f528 Change Eq(R) to Eq 2022-10-25 01:53:52 +09:00
Shunsuke Shibayama
03a36f48a3 Add raw identifier 2022-10-20 18:53:35 +09:00
Shunsuke Shibayama
3eb6393773 Support Python 3.8.10 2022-10-20 13:52:56 +09:00
Shunsuke Shibayama
87170f9bb3 Implement module compatibility checking 2022-10-19 17:21:37 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
ae15f95191 Fix bugs 2022-10-18 17:17:56 +09:00
Shunsuke Shibayama
4e2b36bb96 Fix projection type inference bug 2022-10-15 11:15:16 +09:00
Shunsuke Shibayama
0040ea4b07 Add test 2022-10-14 16:06:00 +09:00
Shunsuke Shibayama
d3d250580b WIP: trait implementation checking 2022-10-14 02:25:31 +09:00
Shunsuke Shibayama
72e8242843 Fix bugs 2022-10-13 18:27:13 +09:00
Shunsuke Shibayama
fe339a7dc7 Fix pyimport bug 2022-10-13 00:23:14 +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
de1180387c Implement assert casting 2022-10-09 00:14:50 +09:00
Shunsuke Shibayama
2cf4b5aba8 Add SetTypeSpec 2022-10-07 10:59:58 +09:00
Shunsuke Shibayama
6b14add8f8 Merge branch 'main' into pr/191 2022-10-06 11:57:49 +09:00
GreasySlug
5a81fa5f5c Add: set example 2022-10-06 08:49:07 +09:00
Shunsuke Shibayama
6d903d2575 Add procedure assignment check 2022-10-03 23:09:07 +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
66feaea948 Update quantified.er 2022-10-02 01:47:51 +09:00
Shunsuke Shibayama
7906eff50d Fix parse.rs 2022-10-01 14:39:30 +09:00
Shunsuke Shibayama
516c5c2f6c Update declare.d.er 2022-09-30 18:51:35 +09:00
Shunsuke Shibayama
33edcd2e1c Implement Python class method declarations 2022-09-30 18:21:18 +09:00
Shunsuke Shibayama
9dd2da9628 Fix .read type 2022-09-30 14:09:38 +09:00
Shunsuke Shibayama
96c5527134 Improve: inferring the overall type from the method 2022-09-30 01:22:22 +09:00
Shunsuke Shibayama
f6637f0f51 Update a11y.er 2022-09-27 23:28:16 +09:00
Shunsuke Shibayama
348a37a746 Fix to continue compilation even if module compilation fails 2022-09-27 23:18:15 +09:00
Shunsuke Shibayama
4d6c7f7590 Add d.er syntax 2022-09-26 21:49:33 +09:00
Shunsuke Shibayama
3e0c8a3d23 Update control.er 2022-09-24 15:52:43 +09:00
Shunsuke Shibayama
9a4a702ebe Fixed to allow types to be uniquely determined between modules 2022-09-22 13:23:43 +09:00